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

15 lines
270 B
SYSTEMD
Raw Normal View History

2015-02-19 13:06:53 +01:00
[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