[arch-general] Forking daemons and systemd

Leonid Isaev lisaev at umail.iu.edu
Mon Nov 5 11:01:11 EST 2012


Hi,

	I was wondering whether there is a guideline regarding using
Type=forking daemons in systemd units. For instance, if a daemon supports a
cmdline switch to run in foreground isn't it better to use this argument in
ExecStart?
	Personally, I was bitten by this with haveged.service which fails on
shutdown and whose unit has Type=forking, but I also noticed that ntpd is
allowed to fork. Both of them support foreground operation (haveged -F and
ntpd -n respectively)?

TIA,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121105/44dd8edb/attachment.asc>


More information about the arch-general mailing list