summaryrefslogtreecommitdiffstats
path: root/test/TEST-03-JOBS/TEST-03-JOBS.units/fails-on-restart.service
blob: fb7e7aeb4c5035d112bd8c1f40282d75115ed7eb (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=normal