| 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=bash -c 'exit 255' |
| 10 |
|
| 11 |
# This should not get run |
| 12 |
ExecStart=bash -c 'true' |