mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 20:02:31 +01:00
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:
parent
b6969cd7fe
commit
b16ae44601
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user