1# SPDX-License-Identifier: LGPL-2.1-or-later 2[Unit] 3Description=Testsuite: EXTEND_TIMEOUT_USEC Success - extend timeout on all services 4 5[Service] 6 7# Normal success - startup / runtime / shutdown all take 8 seconds which is within the EXTEND_TIMEOUT_USEC=4 seconds interval 8# runtime is 8+8+8 seconds. so we are relying on the EXTEND_TIMEOUT_USEC to exceed all stages, Start, Runtime and Stop. 9# success occurs after 24 seconds 10Type=notify 11TimeoutStartSec=4 12TimeoutStopSec=4 13RuntimeMaxSec=4 14Environment=SERVICE=success_all extend_timeout_interval=4 sleep_interval=2 start_intervals=3 run_intervals=3 stop_intervals=3 15ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh 16