From b4e6709f57dfd1356c5e256605c25fb404bab94e Mon Sep 17 00:00:00 2001 From: acetone Date: Mon, 6 Dec 2021 02:57:00 -0500 Subject: [PATCH] systemd service --- systemd/ircabot.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systemd/ircabot.service 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