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
On Sat, May 07, 2016 at 12:47:45PM +0200, Cecil Westerhof wrote:
> I made my own service and I can get info about it with:
> journalctl -u firefoxCPUUsageStore
>
> But this gives also info about starting, restarting and the like. Is it
> possible to get only the logging that is generated by
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://
I made my own service and I can get info about it with:
journalctl -u firefoxCPUUsageStore
But this gives also info about starting, restarting and the like. Is it
possible to get only the logging that is generated by the script itself?
--
Cecil Westerhof
_