summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-01.service
blob: 1c81efc1b126a0ce9d2f83d56a92bd9b1fcf66d4 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=TEST-01-BASIC
After=multi-user.target
Wants=systemd-resolved.service systemd-networkd.service

[Service]
ExecStartPre=rm -f /failed /testok
ExecStart=sh -e -x -c 'systemctl --state=failed --no-legend --no-pager >/failed ; systemctl daemon-reload ; echo OK >/testok'
Type=oneshot