gist/irc/piraatit/teleirc.service

18 lines
462 B
Desktop File

[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
ExecStart=/usr/local/bin/node /home/teleirc-freenode/teleirc/bin/teleirc
-vvv
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
User=teleirc-freenode
[Install]
WantedBy=default.target