Hello lennart,
Lets forget about question#1 (conditionnal dependancy) for now
About question#2 (systemctl within ExecStartPre script).
You really shouldn't do stuff like that as part of the normal boot
process. Starting and then restarting things in the same boot process is
really the wrong th
On Mon, 17.06.13 19:50, Jean-Marc Pigeon (j...@safe.ca) wrote:
> I just understood I need "Requires=" instead of "After=" as the application
> "require" the data-base daemon to be up and running in order to be
> operational.
Requirement dependencies and ordering dependencies in systemd are
orthog
Hello Lennart,
Many thank for you advices, but...
Quoting Lennart Poettering :
So the service "After=" directive should be conditional to an env variable.
I have seen no provision within systemd to resolve such case... Could
somebody propose
a nice way to resolve such needs within systemd ser
On Mon, 17.06.13 16:05, Jean-Marc Pigeon (j...@safe.ca) wrote:
> First question:
> Sysadmin can choose about data-base to use (postgresql or MySQL,
> editing the config file) and tuning configuration process will check
> proper data-base server
> is up and running then create application data-base
Hello,
Trying to do an overdue package upgrade for a package we have in
fedora and I have question
regarding using systemd to do fine tuning configuration on the FIRST
daemon starting.
With sysVinit it was straightforward enough:
At the first "service start", the script was detecting the
config