]>
Commit | Line | Data |
---|---|---|
a327431b DB |
1 | |
2 | [Unit] | |
3 | Description=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. | |
9 | Type=notify | |
10 | TimeoutStartSec=4 | |
11 | TimeoutStopSec=8 | |
12 | RuntimeMaxSec=4 | |
13 | ExecStart=/extend_timeout_test_service.sh SERVICE=success_stop extend_timeout_interval=4 sleep_interval=6 start_intervals=0 run_intervals=0 stop_intervals=1 |