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?

Thanks in advance.

Yours

Manuel

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

Reply via email to