abusenius / insaned

Simple daemon for polling button presses on SANE scanners
GNU General Public License v2.0
43 stars 13 forks source link

Specify pid file location in systemd unit definition #2

Closed coaxial closed 7 years ago

coaxial commented 7 years ago

As per https://www.freedesktop.org/software/systemd/man/systemd.service.html#PIDFile=, explicitly specify the PID file.

This helps systemctl keep track of the processes, especially when restarted a few times within a short interval.

Tested on Debian 8.

abusenius commented 7 years ago

Thanks for your contribution.