mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-19 09:49:21 +01:00
Mikaela Suomalainen
b16ae44601
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?
15 lines
280 B
Desktop File
15 lines
280 B
Desktop File
[Unit]
|
|
Description=Supybot
|
|
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
|
|
User=bot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|