]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/TEST-16-EXTEND-TIMEOUT/testsuite-success-stop.service
test/test-functions: avoid stderr noise, only umount on cleanup if mountpoint
[thirdparty/systemd.git] / test / TEST-16-EXTEND-TIMEOUT / testsuite-success-stop.service
CommitLineData
a327431b
DB
1
2[Unit]
3Description=Testsuite: Success Stop (EXTEND_TIMEOUT_USEC > WATCHDOG_USEC however < TimeoutStopSec)
4
5[Service]
6
7# EXTEND_TIMEOUT_USEC=4 seconds once during shutdown, but sleep for 6 seconds.
8# Therefore stop time is 6 seconds and < TimeoutStopSec so still successful.
9Type=notify
10TimeoutStartSec=4
11TimeoutStopSec=8
12RuntimeMaxSec=4
13ExecStart=/extend_timeout_test_service.sh SERVICE=success_stop extend_timeout_interval=4 sleep_interval=6 start_intervals=0 run_intervals=0 stop_intervals=1