systemd-services: replace ConditionPathExists with ConditionPathIsDirectory

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2024-01-25 15:12:15 +01:00
parent 911c3c03a2
commit 128fa63cc2
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A
9 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_central
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_flatcg
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_nest
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_pair
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_qmap
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_rustland
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_rusty
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_simple
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple

View File

@ -1,6 +1,6 @@
[Unit]
Description=Start scx_userland
ConditionPathExists=/sys/kernel/debug/sched/ext
ConditionPathIsDirectory=/sys/kernel/sched_ext
[Service]
Type=simple