systemd service

master
const an teen 2021-12-06 02:57:00 -05:00
parent ebf6508a53
commit b4e6709f57
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[Unit]
Description=IRCaBot logger
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=idle
# Change the USERNAME to your user, with the rights of which the bot will work:
User=USERNAME
# Change paths to actual (like a /srv/ircabot or something):
ExecStart=/path/to/ircabot -c /path/to/ircabot.conf
[Install]
WantedBy=multi-user.target