fix supybot.service

ref: #63
This commit is contained in:
Aminda Suomalainen 2015-02-19 14:16:15 +02:00
parent 766a756914
commit ca71eef52e
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@ Description=Supybot
After=network.target After=network.target
[Service] [Service]
Type=simple Type=forking
PIDFile=/home/bot/botname/botname.pid PIDFile=/home/bot/botname/botname.pid
ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf --daemon
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
Restart=always Restart=always
User=bot User=bot