[Unit] Description=Start scx_scheduler ConditionPathIsDirectory=/sys/kernel/sched_ext [Service] Type=simple EnvironmentFile=/etc/default/scx ExecStart=/bin/bash -c 'exec $SCX_SCHEDULER $SCX_FLAGS ' Restart=always StandardError=journal LogNamespace=sched-ext [Install] WantedBy=multi-user.target