diff --git a/irc/piraatit/README.md b/irc/piraatit/README.md index e99fc8c..04d6c1a 100644 --- a/irc/piraatit/README.md +++ b/irc/piraatit/README.md @@ -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. diff --git a/irc/piraatit/teleirc.service b/irc/piraatit/teleirc.service new file mode 100644 index 0000000..8b9566c --- /dev/null +++ b/irc/piraatit/teleirc.service @@ -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 +