piraatit/irc: add teleirc.service

This commit is contained in:
Aminda Suomalainen 2017-11-25 14:32:11 +02:00
parent 126aa71f28
commit a6dbbf0ec3
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 26 additions and 0 deletions

View File

@ -8,3 +8,11 @@ I won't promise to keep this up-to-date, but I think it might be better
than nothing.
***READ ALSO https://wiki.piraattipuolue.fi/K%C3%A4ytt%C3%A4j%C3%A4:Mikaela !***
Notes:
* teleirc.service is not used by the PirateIRC instance that I run. It has
to be started manually as I don't have root on Kapsi and they don't have
systemd or user services at the time of writing and without lithing that
would require logging in once after every reboot for it to start doing
anything.

View File

@ -0,0 +1,18 @@
[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