[systemd-devel] Is there a way to see if a script is run from systemd

Cecil Westerhof cldwesterhof at gmail.com
Sat May 7 13:00:17 UTC 2016


I have written a Bash script to be used for a service. Is it possible to
see in the script if it is run from systemd? I could use this for debugging
purposes.

-- 
Cecil Westerhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160507/fb7d5eef/attachment.html>


More information about the systemd-devel mailing list