diff --git a/systemd/ircabot.service b/systemd/ircabot.service new file mode 100644 index 0000000..0f57491 --- /dev/null +++ b/systemd/ircabot.service @@ -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