diff options
author | root <root@rshg054.dnsready.net> | 2012-09-14 00:04:07 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-14 00:04:07 +0000 |
commit | 1b99470a0c85186f768a328fcc11a7cfcc85be51 (patch) | |
tree | e08ce57006ed5455ffcfb1fb57544ed5604b0a80 /community/inn/innd.service | |
parent | 843685ce9dd76d37a4c7b0230eacb6d26bdf30dd (diff) |
Fri Sep 14 00:04:06 UTC 2012
Diffstat (limited to 'community/inn/innd.service')
-rw-r--r-- | community/inn/innd.service | 16 |
1 files changed, 16 insertions, 0 deletions
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 |