summaryrefslogtreecommitdiffstats
path: root/test/testsuite-03.units/fails-on-restart-restartdirect.service
blob: 60ffd7a600e57e6c8e6ab769942508c0d5b36311 (plain)
1
2
3
4
5
6
7
8
9
10
11
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Fail on restart
StartLimitIntervalSec=1m
StartLimitBurst=3

[Service]
Type=oneshot
ExecStart=false
Restart=on-failure
RestartMode=direct