commit - 922540306e968b3c64150e771d0773273535b661
commit + 160f728530806385dbeee398a20fe5eac7318c5a
blob - 36ba245806f7cbd688a44d29a4a3e708df47ee62
blob + 73611fd441a2d9f77a2d4d1337a6a3c4ca68d089
--- contrib/Makefile.am
+++ contrib/Makefile.am
SUBDIRS = Anope Debian MacOSX
-EXTRA_DIST = README ngircd.spec systrace.policy ngindent ngircd-bsd.sh \
- ngIRCd-Logo.gif ngircd-redhat.init platformtest.sh
+EXTRA_DIST = README \
+ ngindent \
+ ngircd-bsd.sh \
+ ngIRCd-Logo.gif \
+ ngircd-redhat.init \
+ ngircd.service
+ ngircd.spec \
+ platformtest.sh \
+ systrace.policy
maintainer-clean-local:
rm -f Makefile Makefile.in
blob - /dev/null
blob + b5bab060b1f69d807c96a52ff1bfbff186c71a5f (mode 644)
--- /dev/null
+++ contrib/ngircd.service
+[Unit]
+Description=Next Generation IRC Daemon
+After=network.target
+
+[Service]
+# don't daemonize to simplify stuff
+ExecStart=/usr/sbin/ngircd -n
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target