From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/inn/innd.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/inn/innd.service (limited to 'community/inn/innd.service') diff --git a/community/inn/innd.service b/community/inn/innd.service new file mode 100644 index 000000000..724baf90c --- /dev/null +++ b/community/inn/innd.service @@ -0,0 +1,16 @@ +[Unit] +Description=Inetnet News Daemon +After=syslog.target network.target +ConditionPathExists=/etc/inn/inn.conf + +[Service] +User=news +PermissionsStartOnly=true +PIDFile=/run/inn/innd.pid +Type=forking +ExecStart=/usr/bin/rc.news +ExecStop=/bin/su -m news -c '/usr/bin/rc.news stop' +KillMode=control-group + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf