Bug#791412: systemd invoking a service on its own

Michael Biebl biebl at debian.org
Mon Jul 6 12:03:40 BST 2015


Am 06.07.2015 um 09:58 schrieb Michael Biebl:
> The canonical way to check if systemd is the active PID 1 is a simple
> test for the existence of the /run/systemd/systemd directory [2]
> In shell this would be
> if [ -d /run/systemd/systemd ] ; then
>   do stuff
> fi

Sorry for the typo here, I meant "/run/systemd/system" here, without the
'd' suffix.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150706/4da0775d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list