1# SPDX-License-Identifier: LGPL-2.1-or-later 2[Unit] 3Description=Testsuite: Success Runtime (EXTEND_TIMEOUT_USEC > WATCHDOG_USEC however < RuntimeMaxSec) 4 5[Service] 6 7# EXTEND_TIMEOUT_USEC=4 second once during runtime, but sleep for 6 seconds. 8# Runtime is 6 seconds and < RuntimeMaxSec so still successful. 9Type=notify 10TimeoutStartSec=4 11TimeoutStopSec=4 12RuntimeMaxSec=8 13Environment=SERVICE=success_runtime extend_timeout_interval=4 sleep_interval=6 start_intervals=0 run_intervals=1 stop_intervals=0 14ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh 15