/
niceSOFT
/
systemd
Обзор
Документация
Войти
/
niceSOFT
/
systemd
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/test-execute/exec-condition-failed.service
12 строк
248 B
Yu Watanabe
test: always use bash
07 дек 2025, 03:09
07 дек 2025, 03:09
b49a469
Код
Авторство
О чём код?
# SPDX-License-Identifier: LGPL-2.1-or-later [Unit] Description=Test for exec condition that fails the unit [Service] Type=oneshot # exit 255 will fail the unit ExecCondition=bash -c 'exit 255' # This should not get run ExecStart=bash -c 'true'