diff options
Diffstat (limited to 'upstream/fedora-40/man5/systemd.service.5')
-rw-r--r-- | upstream/fedora-40/man5/systemd.service.5 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/upstream/fedora-40/man5/systemd.service.5 b/upstream/fedora-40/man5/systemd.service.5 index 098eba50..19597a2e 100644 --- a/upstream/fedora-40/man5/systemd.service.5 +++ b/upstream/fedora-40/man5/systemd.service.5 @@ -1079,7 +1079,13 @@ If set to \fBon\-abnormal\fR, the service will be restarted when the process is terminated by a signal (including on core dump, excluding the aforementioned four signals), when an operation times out, or when the watchdog timeout is triggered\&. If set to \fBon\-abort\fR, the service will be restarted only if the service process exits due to an uncaught signal not specified as a clean exit status\&. If set to \fBon\-watchdog\fR, the service will be restarted only if the watchdog timeout for the service expires\&. If set to -\fBalways\fR, the service will be restarted regardless of whether it exited cleanly or not, got terminated abnormally by a signal, or hit a timeout\&. +\fBalways\fR, the service will be restarted regardless of whether it exited cleanly or not, got terminated abnormally by a signal, or hit a timeout\&. Note that +\fIType=oneshot\fR +services will never be restarted on a clean exit status, i\&.e\&. +\fBalways\fR +and +\fBon\-success\fR +are rejected for them\&. .sp .it 1 an-trap .nr an-no-space-flag 1 |