Thanks to Kyle Keen <keenerd@gmail.com>:
Date: Sat, 18 Aug 2012 08:28:22 -0400
Message-ID: <CAAKTTKNNmrB=8XtxcV6w1Q-RQ6J_xTTDGD4MHQFaDy6V3=B19Q@mail.gmail.com>
From: keenerd <keenerd@gmail.com>
To: ngircd-ml@ngircd.barton.de
Subject: [ngIRCd-ML] systemd service
Hello all.
Linked is a service file for ngircd. Please add this to your source
tree so other people don't have to learn to write service files ;-)
https://projects.archlinux.org/svntogit/community.git/plain/trunk/ngircd.service?h=packages/ngircd
-Kyle Keen
Arch Linux TU
http://kmkeen.com
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
--- /dev/null
+[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