mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-02 05:47:12 +00:00
1659152a62
This reverts commit f7e575808b
.
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
17 lines
393 B
Desktop File
17 lines
393 B
Desktop File
[Unit]
|
|
Description=Start scx_scheduler
|
|
ConditionPathIsDirectory=/sys/kernel/sched_ext
|
|
StartLimitIntervalSec=30
|
|
StartLimitBurst=2
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/default/scx
|
|
ExecStart=/bin/bash -c 'exec ${SCX_SCHEDULER_OVERRIDE:-$SCX_SCHEDULER} ${SCX_FLAGS_OVERRIDE:-$SCX_FLAGS} '
|
|
Restart=on-failure
|
|
StandardError=journal
|
|
LogNamespace=sched-ext
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|