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

15 lines
287 B
SYSTEMD
Raw Normal View History

2015-02-19 13:06:53 +01:00
[Unit]
Description=Supybot
After=network-online.target
2015-02-19 13:06:53 +01:00
[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