shell-things/etc/systemd/system/znc.service
Mikaela Suomalainen f54bc8d573 add znc.service
Ref: #63 - based on the included unit file and znc/znc#647
2015-02-19 12:42:45 +02:00

15 lines
256 B
Desktop File

[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