Kapisi/roles/IRC/files/services/irc.service

18 lines
300 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=AniNIX/IRC daemon
Requires=network.target
After=network.target
[Service]
Type=forking
PIDFile=/var/lib/inspircd/inspircd.pid
ExecStart=/usr/bin/inspircd
ExecReload=kill -HUP $MAINPID
ExecStop=kill $MAINPID
Restart=always
User=ircd
Group=ircd
[Install]
WantedBy=multi-user.target