mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 06:25:25 +03:00
14 lines
386 B
Bash
Executable File
14 lines
386 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
systemctl start will-fail.service
|
|
systemctl start will-fail2.service
|
|
systemctl start will-not-fail.service
|
|
systemctl start will-not-fail2.service
|
|
systemctl is-failed will-fail.service || exit 1
|
|
systemctl is-failed will-fail2.service || exit 1
|
|
systemctl is-failed will-not-fail.service && exit 1
|
|
systemctl is-failed will-not-fail2.service && exit 1
|
|
|
|
touch /testok
|
|
exit 0
|