hi..

since conditions specifying wheter a service should start are somehow limited to the existence of some files/directories/etc. i was searching for something more complex to handle conditional service starts.

is there a way to execute a program and take its exit status to evaluate the condition? like ConditionExec or whatever.

currently we need a service that only starts if the current hostname matches some value, i.e. only start service on hostA.

or we need to start a service only if some special IP is configured on a network interface.

is this already possible without getting a "failed" service?

bye m.


--
Dipl.-Inf. Marius Tolzmann <marius.tolzm...@molgen.mpg.de>
----------------------------------.------------------------------
MPI f. molekulare Genetik         |
Ihnestrasse 63-73, D-14195 Berlin |   ==> MarIuX GNU/Linux <==
Phone: +49 (0)30 8413 1709        |
----------------------------------^------------------------------
God put me on earth to accomplish a certain number of things.
Right now I am so far behind..
   ..I will never die.         <by calvin from calvin&hobbes ;)>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to