systemd.service.5 | systemd.service.5 | |||
---|---|---|---|---|
skipping to change at line 283 | skipping to change at line 283 | |||
Configures the time to sleep before restarting a service (as | Configures the time to sleep before restarting a service (as | |||
configured with Restart=). Takes a unit-less value in seconds, o r a | configured with Restart=). Takes a unit-less value in seconds, o r a | |||
time span value such as "5min 20s". Defaults to 100ms. | time span value such as "5min 20s". Defaults to 100ms. | |||
TimeoutStartSec= | TimeoutStartSec= | |||
Configures the time to wait for start-up. If a daemon service do es | Configures the time to wait for start-up. If a daemon service do es | |||
not signal start-up completion within the configured time, the | not signal start-up completion within the configured time, the | |||
service will be considered failed and will be shut down again. | service will be considered failed and will be shut down again. | |||
Takes a unit-less value in seconds, or a time span value such as | Takes a unit-less value in seconds, or a time span value such as | |||
"5min 20s". Pass "0" to disable the timeout logic. Defaults to | "5min 20s". Pass "0" to disable the timeout logic. Defaults to | |||
TimeoutStartSec= from the manager configuration file, except whe | DefaultTimeoutStartSec= from the manager configuration file, exc | |||
n | ept | |||
Type=oneshot is used, in which case the timeout is disabled by | when Type=oneshot is used, in which case the timeout is disabled | |||
default. | by | |||
default (see systemd-systemd.conf(5)). | ||||
TimeoutStopSec= | TimeoutStopSec= | |||
Configures the time to wait for stop. If a service is asked to | Configures the time to wait for stop. If a service is asked to | |||
stop, but does not terminate in the specified time, it will be | stop, but does not terminate in the specified time, it will be | |||
terminated forcibly via SIGTERM, and after another timeout of eq ual | terminated forcibly via SIGTERM, and after another timeout of eq ual | |||
duration with SIGKILL (see KillMode= in systemd.kill(5)). Takes a | duration with SIGKILL (see KillMode= in systemd.kill(5)). Takes a | |||
unit-less value in seconds, or a time span value such as "5min | unit-less value in seconds, or a time span value such as "5min | |||
20s". Pass "0" to disable the timeout logic. Defaults to | 20s". Pass "0" to disable the timeout logic. Defaults to | |||
TimeoutStartSec= from the manager configuration file. | DefaultTimeoutStopSec= from the manager configuration file (see | |||
systemd-systemd.conf(5)). | ||||
TimeoutSec= | TimeoutSec= | |||
A shorthand for configuring both TimeoutStartSec= and | A shorthand for configuring both TimeoutStartSec= and | |||
TimeoutStopSec= to the specified value. | TimeoutStopSec= to the specified value. | |||
WatchdogSec= | WatchdogSec= | |||
Configures the watchdog timeout for a service. The watchdog is | Configures the watchdog timeout for a service. The watchdog is | |||
activated when the start-up is completed. The service must call | activated when the start-up is completed. The service must call | |||
sd_notify(3) regularly with "WATCHDOG=1" (i.e. the "keep-alive | sd_notify(3) regularly with "WATCHDOG=1" (i.e. the "keep-alive | |||
ping"). If the time between two such calls is larger than the | ping"). If the time between two such calls is larger than the | |||
skipping to change at line 561 | skipping to change at line 562 | |||
systemd(1), systemctl(8), systemd.unit(5), systemd.exec(5), | systemd(1), systemctl(8), systemd.unit(5), systemd.exec(5), | |||
systemd.resource-control(5), systemd.kill(5), systemd.directives(7) | systemd.resource-control(5), systemd.kill(5), systemd.directives(7) | |||
NOTES | NOTES | |||
1. Incompatibilities with SysV | 1. Incompatibilities with SysV | |||
http://www.freedesktop.org/wiki/Software/systemd/Incompatibiliti es | http://www.freedesktop.org/wiki/Software/systemd/Incompatibiliti es | |||
2. Proper handling of SIGINT/SIGQUIT — How to be a proper program | 2. Proper handling of SIGINT/SIGQUIT — How to be a proper program | |||
http://www.cons.org/cracauer/sigint.html | http://www.cons.org/cracauer/sigint.html | |||
systemd 215 SYSTEMD.SERVICE (5) | systemd 216 SYSTEMD.SERVICE (5) | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 7 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |