systemd/test/test-execute/exec-condition-failed.service
2019-07-17 11:35:02 +02:00

12 lines
209 B
Desktop File

[Unit]
Description=Test for exec condition that fails the unit
[Service]
Type=oneshot
# exit 255 will fail the unit
ExecCondition=/bin/sh -c 'exit 255'
# This should not get run
ExecStart=/bin/sh -c 'true'