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
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
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://