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

2016-05-08 Thread Kai Krakow
Am Sun, 8 May 2016 13:05:34 +0200 schrieb Reindl Harald : > 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 en

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

2016-05-08 Thread Reindl Harald
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

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

2016-05-08 Thread 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. -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://