mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-22 02:32:43 +01:00
piraatit/irc: add teleirc.service
This commit is contained in:
parent
126aa71f28
commit
a6dbbf0ec3
@ -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.
|
||||
|
18
irc/piraatit/teleirc.service
Normal file
18
irc/piraatit/teleirc.service
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user