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

15 lines
256 B
SYSTEMD
Raw Normal View History

[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