summaryrefslogtreecommitdiff
path: root/test/units/testsuite-14.service
blob: 23644e53a7b4f3eb24f09c06d0ee87ef0f929d12 (plain)
1
2
3
4
5
6
7
8
9
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=TEST-14-MACHINE-ID

[Service]
ExecStartPre=rm -f /failed /testok
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
ExecStart=/bin/sh -e -x -c 'systemctl --state=failed --no-legend --no-pager >/failed ; echo OK >/testok'
Type=oneshot