mirror of https://notabug.org/acetone/ircabot.git
systemd service
parent
ebf6508a53
commit
b4e6709f57
|
@ -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
|
Loading…
Reference in New Issue