shell-things/etc/systemd/system/znc.service

15 lines
263 B
SYSTEMD
Raw Normal View History

[Unit]
Description=ZNC, an advanced IRC bouncer
After=network-online.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