'Twas brillig, and David Timothy Strauss at 16/12/13 08:04 did gyre and
gimble:
> If we supported PIDFile= for Type=simple, daemons could drop a PID
> file to indicate startup completion without having to be full-on
> Type=forking.

Yeah but pidfile is kinda ugly too and has problem when processes are
run as other users (requiring corresponding tmpfiles to create
appropriately name directores).

The amount of code/hassle for proper pid file handling is surely more
complex than sd-notify support?

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to