[systemd-devel] Systemd of course
Andrey Borzenkov
arvidjaar at gmail.com
Sun Apr 7 11:58:24 PDT 2013
В Sun, 7 Apr 2013 14:30:43 +0200
Pascal <patatetom at gmail.com> пишет:
> 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.
More information about the systemd-devel
mailing list