| |
| [Unit] |
| Description=Testsuite: Fail Stop (EXTEND_TIMEOUT_USEC Didn't occur in sufficient time after TimeoutStopSec.) |
| |
| [Service] |
| |
| |
| |
| Type=notify |
| TimeoutStartSec=4 |
| TimeoutStopSec=10 |
| RuntimeMaxSec=4 |
| ExecStart=/extend_timeout_test_service.sh SERVICE=fail_stop extend_timeout_interval=5 sleep_interval=7 start_intervals=0 run_intervals=0 stop_intervals=2 |
| |
| |
| ExecStopPost=/bin/bash -c '[[ $SERVICE_RESULT == timeout && $EXIT_CODE == killed ]] && touch /fail_runtime.terminated' |