shell-things/etc/systemd/system/supybot.service

15 lines
280 B
SYSTEMD
Raw Normal View History

2015-02-19 13:06:53 +01:00
[Unit]
Description=Supybot
After=network.target
[Service]
2015-02-19 13:16:15 +01:00
Type=forking
PIDFile=/home/bot/botname/botname.pid
2015-02-19 13:16:15 +01:00
ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf --daemon
2015-02-19 13:06:53 +01:00
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=bot
[Install]
WantedBy=multi-user.target