]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/testsuite-16.units/success-runtime.service
Merge pull request #15210 from ssahani/networkctl-up-down
[thirdparty/systemd.git] / test / testsuite-16.units / success-runtime.service
1 [Unit]
2 Description=Testsuite: Success Runtime (EXTEND_TIMEOUT_USEC > WATCHDOG_USEC however < RuntimeMaxSec)
3
4 [Service]
5
6 # EXTEND_TIMEOUT_USEC=4 second once during runtime, but sleep for 6 seconds.
7 # Runtime is 6 seconds and < RuntimeMaxSec so still successful.
8 Type=notify
9 TimeoutStartSec=4
10 TimeoutStopSec=4
11 RuntimeMaxSec=8
12 Environment=SERVICE=success_runtime extend_timeout_interval=4 sleep_interval=6 start_intervals=0 run_intervals=1 stop_intervals=0
13 ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh