diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index f418f5b5ee..4574da13a9 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -864,6 +864,24 @@ + + FailureAction= + SuccessAction= + + Configure the action to take when the unit stops and enters a failed state or inactive + state. Takes one of , , , + , , or + . If is set, no action will be triggered. + causes a reboot following the normal shutdown procedure (i.e. equivalent to + systemctl reboot). causes a forced reboot which will + terminate all processes forcibly but should cause no dirty file systems on reboot (i.e. equivalent to + systemctl reboot -f) and causes immediate execution of the + reboot2 system call, which + might result in data loss. Similarly, , , + have the effect of powering down the system with similar semantics. Both + options default to . + + JobTimeoutSec= JobRunningTimeoutSec= @@ -920,29 +938,13 @@ StartLimitAction= - Configure the action to take if the rate limit configured with - StartLimitIntervalSec= and StartLimitBurst= is hit. Takes one of - , , , - , , or - . If is set, hitting the rate limit will trigger no - action besides that the start will not be permitted. causes a reboot following the - normal shutdown procedure (i.e. equivalent to systemctl reboot). - causes a forced reboot which will terminate all processes forcibly but should - cause no dirty file systems on reboot (i.e. equivalent to systemctl reboot -f) and - causes immediate execution of the - reboot2 system call, which - might result in data loss. Similarly, , , - have the effect of powering down the system with similar - semantics. Defaults to . + Configure an additional action to take if the rate limit configured with + StartLimitIntervalSec= and StartLimitBurst= is hit. Takes the same + values as the setting FailureAction=/SuccessAction= settings and executes + the same actions. If is set, hitting the rate limit will trigger no action besides that + the start will not be permitted. Defaults to . - - FailureAction= - SuccessAction= - Configure the action to take when the unit stops and enters a failed state or inactive - state. Takes the same values as the setting StartLimitAction= setting and executes the same - actions. Both options default to . - RebootArgument=