systemd-services: setting conflict between schedulers

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2024-01-26 22:18:51 +01:00
parent 9ce481255b
commit 23223b8b77
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A
9 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_central
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_flatcg.service scx_nest.service scx_pair.service scx_qmap.service scx_rustland.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_flatcg
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_nest.service scx_pair.service scx_qmap.service scx_rustland.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_nest
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_pair.service scx_qmap.service scx_rustland.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_pair
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_qmap.service scx_rustland.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_qmap
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_pair.service scx_rustland.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_rustland
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_pair.service scx_qmap.service scx_rusty.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_rusty
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_pair.service scx_qmap.service scx_rustland.service scx_simple.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_simple
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_pair.service scx_qmap.service scx_rustland.service scx_rusty.service scx_userland.service
[Service]
Type=simple

View File

@ -1,6 +1,7 @@
[Unit]
Description=Start scx_userland
ConditionPathIsDirectory=/sys/kernel/sched_ext
Conflicts=scx_central.service scx_flatcg.service scx_nest.service scx_pair.service scx_qmap.service scx_rustland.service scx_rusty.service scx_simple.service
[Service]
Type=simple