1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00

contrib/ngircd.service: systemd service file for ngircd

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
This commit is contained in:
Alexander Barton 2012-08-18 15:51:28 +02:00
parent 922540306e
commit 160f728530
2 changed files with 20 additions and 2 deletions

View File

@ -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

11
contrib/ngircd.service Normal file
View File

@ -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