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

15 lines
280 B
Desktop File

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