Use notify on ready under systemd instead of hack with sleep + check commandline
Just forwarding the feature request originally filed against the debian package https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846179
Makes sense to me. Is this true for other processes managed by Debian?
I wrote the original patch; I hadn't noticed it had been forwarded here until now.
It's not specific to Debian, but rather is a feature of systemd (which at this point, I think is used by most of the most of the major Linux distributions; Debian itself defaults to systemd, though also supports alternatives).
Some other services that use
Type=notifyinstalled on my system right now are openvpn, sshd, docker, and libvirt. Most (perhaps all?) of those link against libsystemd, to invoke its
sd_notifyfunctions, which essentially does what this patch does (albeit with much more capabilities).
(All of that said, I've stopped actually using Debian's native package in favour of omnibus gitlab, but still think this would be valuable for local gitlab-with-systemd installations).