add znc.service

Ref: #63 - based on the included unit file and znc/znc#647
This commit is contained in:
Aminda Suomalainen 2015-02-19 12:39:31 +02:00
parent 44b2b2ada9
commit f54bc8d573

View 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