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

14 lines
242 B
Desktop File

[Unit]
Description=Supybot
After=network.target
[Service]
Type=forking
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