On Fri, Oct 5, 2012 at 6:30 PM, EEEEEE AAAAAA <[email protected]> wrote:
> Is it possible to use conditions (like if) in systemd service file.
>
> For example, if XYZ="on" in configuration file, then start another service.

Not in general. Some specific conditionals are supported, see "man
systemd.unit". If you need something like a shell script, use a shell
script in your ExecStart.

-t
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to