HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/integration-tests/TEST-23-UNIT-FILE/TEST-23-UNIT-FILE.units/TEST-23-UNIT-FILE-short-lived.service
Git blob: 973d5799df8014138627f1decd1e2fa583caf3dc
Lines 1–12 of 12
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Shortlived Unit
StopWhenUnneeded=yes
# Bump up the start limit logic, so that we can be restarted frequently enough
StartLimitBurst=15
StartLimitIntervalSec=1h
[Service]
ExecStart=/usr/lib/systemd/tests/testdata/TEST-23-UNIT-FILE.units/TEST-23-UNIT-FILE-short-lived.sh