mirror of
https://github.com/JakeHillion/scx.git
synced 2026-12-04 02:30:50 +00:00
16 lines
370 B
Desktop File
16 lines
370 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
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|