]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-condition-failed.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-condition-failed.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for exec condition that fails the unit
4
5 [Service]
6 Type=oneshot
7
8 # exit 255 will fail the unit
9 ExecCondition=/bin/sh -c 'exit 255'
10
11 # This should not get run
12 ExecStart=/bin/sh -c 'true'