[CONTRIBUTION]systemd support for inn

Jochen Schmitt Jochen at herr-schmitt.de
Wed Feb 15 20:02:26 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hallo,

as a co-mainainer of the inn package of the Fedora project, I have
develop a unit file to support the systemd init system which I want to
send to you.

The attached file above should be copy to
/lib/systemd/system/innd.services.

Best Regards:

Jochen Schmitt

[Unit]
Description=Inetnet News Daemon
After=syslog.target network.target
ConditionPathExists=/etc/news/inn.conf

[Service]
User=news
PermissionsStartOnly=true
PIDFile=/run/news/innd.pid
Type=forking
ExecStart=/usr/libexec/news/rc.news
ExecStop=/bin/su -m  news -c '/usr/libexec/news/rc.news stop'
KillMode=control-group

[Install]
WantedBy=multi-user.target[s4504kr at aleph inn]$

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAk88D1IACgkQZLAIBz9lVu8gewP/W9qq6xbF0KFXVQu4Zd8Ygiwa
6nYiSPG4WapVPshfTBPxHuFtPs7TxhjL0on9zPvoVvAlVZDEdCaMdnByACWUKgGq
ztalGCq/74Ik2D1hFqMCecgWAmC2lFFT+yfYp3aHGCO+WJj0B5Kmro++p6pqMZ2q
zQPFYDFG/y9bblzs6jc=
=qrX5
-----END PGP SIGNATURE-----



More information about the inn-workers mailing list