В Sun, 7 Apr 2013 14:30:43 +0200
Pascal <[email protected]> пишет:

> Hi,
> 
> 
> I need some help to (even) understand systemd process (philosophy)...
> 
> How, from a service, stop the boot process if an error occurs in this
> service?
> 
> For example, a bash script do a check and return false or true. If true
> returned, all is ok and the boot process go on with default target and
> display-manager.service. If false returned, the "bash script" service stop
> the boot process.
> 

See OnFailure and OnFailureIsolate unit options.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to