On 11/22/2011 01:27 PM, Honza Horak wrote:
Do I have to create the same bash script and execute it like:
ExecStartPre=/path/to/simple/script
ExecStart=/path/to/daemon $MYARGS
This won't work, because environment is not transferred from one
execution to another.
You could solve this using a wr
Hi all,
Let's have the following case: the environment variable $FOO can be
defined but it doesn't have to be. Then I want to pass this variable to
a process in the unit file like "--foo $FOO", but only if the variable
is not empty. Something like the following has been done in the SysV
init