hwdb: fix screen rotation for EXO Wings 2in1 w1125 (#36283)
[systemd.io.git] / test / test-execute / exec-condition-skip.service
blob4ee58b9c11f9f896ef72d60843b965afcecca940
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for exec condition that triggers skipping
5 [Service]
6 Type=oneshot
8 # exit codes [1, 254] will result in skipping the rest of execution
9 ExecCondition=/bin/sh -c 'exit 0'
10 ExecCondition=/bin/sh -c 'exit 254'
12 # This would normally fail the unit but will not get run due to the skip above
13 ExecCondition=/bin/sh -c 'exit 255'
15 # This should not get run
16 ExecStart=sh -c 'true'