mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 05:09:23 +01:00
add znc.service
Ref: #63 - based on the included unit file and znc/znc#647
This commit is contained in:
parent
44b2b2ada9
commit
f54bc8d573
14
etc/systemd/system/znc.service
Normal file
14
etc/systemd/system/znc.service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=ZNC, an advanced IRC bouncer
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
PIDFile=/home/znc/.znc/znc.pid
|
||||||
|
ExecStart=/home/znc/.local/bin/znc
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
Restart=always
|
||||||
|
User=znc
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user