1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00
systemd/test/units/testsuite-01.service

9 lines
242 B
SYSTEMD
Raw Normal View History

[Unit]
Description=TEST-01-BASIC
After=multi-user.target
[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