shell-things/etc/systemd/system/supybot.service
2015-02-19 14:16:15 +02:00

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