Revert "services: remove unneeded pidfiles"

This reverts commit 98093edc99.

* * * * *

They aren't needed if systemd starts the service, but what if user
services are used together with cron and liching isn't allowed?
This commit is contained in:
Aminda Suomalainen 2015-07-07 10:10:10 +03:00
parent b6969cd7fe
commit b16ae44601
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/home/bot/botname/botname.pid
ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf --daemon
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

View File

@ -4,6 +4,7 @@ After=network.target
[Service]
Type=forking
PIDFile=/home/znc/.znc/znc.pid
ExecStart=/home/znc/.local/bin/znc
ExecReload=/bin/kill -HUP $MAINPID
Restart=always