Am 07.05.2016 um 15:00 schrieb Cecil Westerhof:
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
just set a environment variable in the systemd unit or check against a lot of env-vars missing which are there in a ordinary shell but removed from systemd to start with a clean anvironement
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel