commit 160f728530806385dbeee398a20fe5eac7318c5a from: Alexander Barton date: Sat Aug 18 14:01:51 2012 UTC contrib/ngircd.service: systemd service file for ngircd Thanks to Kyle Keen : Date: Sat, 18 Aug 2012 08:28:22 -0400 Message-ID: From: keenerd 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 commit - 922540306e968b3c64150e771d0773273535b661 commit + 160f728530806385dbeee398a20fe5eac7318c5a blob - 36ba245806f7cbd688a44d29a4a3e708df47ee62 blob + 73611fd441a2d9f77a2d4d1337a6a3c4ca68d089 --- contrib/Makefile.am +++ contrib/Makefile.am @@ -11,8 +11,15 @@ 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 @@ -0,0 +1,11 @@ +[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