Package: consolation
Version: 0.0.5-1
Followup-For: Bug #883087

I noticed my system took too long to shutdown and tracked it down to
consolation (which is awesome btw!).

As mentioned by Jakub, consolation forks without writing a pid file, so
start-stop-daemon just timeouts.

I wrote a simple service file (attached) which sort-of solves the problem with
GuessMainPID. Under systemd, the service now stops instantly.

It would be nice to have a non-forking mode though.


-- System Information:
Debian Release: buster/sid
 APT prefers unstable
 APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages consolation depends on:
ii  libc6       2.25-5
ii  libevdev2   1.5.7+dfsg-1
ii  libinput10  1.9.4-2
ii  libudev1    236-1
ii  lsb-base    9.20170808

consolation recommends no packages.

consolation suggests no packages.
[Unit]
Description=linux console pointer interface

[Service]
ExecStart=/usr/sbin/consolation
Type=forking

[Install]
WantedBy=multi-user.target

Reply via email to