gist/irc/piraatit/teleirc.service

18 lines
462 B
SYSTEMD
Raw Normal View History

2017-11-25 13:32:11 +01:00
[Unit]
Description=teleirc
#After=network-online.target
[Service]
# NPM installations: find out correct path by running `which teleirc`
# Ex. /usr/local/bin/teleirc
# ExecStart=/usr/bin/env node /usr/local/bin/teleirc
#ExecStart=/usr/local/bin/node /usr/local/bin/teleirc
2023-02-26 18:01:13 +01:00
ExecStart=/usr/local/bin/node /home/teleirc-freenode/teleirc/bin/teleirc
2017-11-25 13:32:11 +01:00
-vvv
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
User=teleirc-freenode
[Install]
WantedBy=default.target