add untested supybot.service

This commit is contained in:
Aminda Suomalainen 2015-02-19 14:06:53 +02:00
parent f54bc8d573
commit 766a756914
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=Supybot
After=network.target
[Service]
Type=simple
PIDFile=/home/bot/botname/botname.pid
ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=bot
[Install]
WantedBy=multi-user.target