Forking daemons and systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux