В Sat, 29 Dec 2012 13:40:59 +0100 Manuel Reimer <manuel.s...@nurfuerspam.de> пишет:
> Hello, > > I need a reliable way to find out if a system, where my software runs on, > uses > systemd. > > My first thought: > > $ cat /proc/1/comm > systemd > > Is this a reliable way that will also work in the next few releases of > systemd, > or should I use something different? > Widely used check is if /bin/mountpoint -q /sys/fs/cgroup/systemd ; then ... fi _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel