mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 04:00:24 +00:00
deleted: services/scx.initrd
This commit is contained in:
parent
3e6bcab337
commit
5163d8b441
@ -1,24 +0,0 @@
|
||||
#!/usr/bin/openrc-run
|
||||
# Powered by CachyOS Team
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Start scx_scheduler"
|
||||
supervisor=supervise-daemon
|
||||
required_files="/etc/default/scx"
|
||||
|
||||
command="/usr/bin/$SCX_SCHEDULER"
|
||||
command_args="$SCX_FLAGS"
|
||||
command_user="${SCX_USER:-root}:${SCX_GROUP:-root}"
|
||||
|
||||
output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
|
||||
error_log="$output_log"
|
||||
|
||||
start_pre() {
|
||||
checkpath -q -d -m 0775 -o "${command_user}" /var/cache/"${RC_SVCNAME}"
|
||||
checkpath -q -d -m 0775 -o "${command_user}" /var/log/"${RC_SVCNAME}"
|
||||
checkpath -q -f -m 0644 -o "${command_user}" "$output_log"
|
||||
}
|
||||
|
||||
# stop_post() {
|
||||
# rm -rf /var/cache/"${RC_SVCNAME}"
|
||||
# }
|
Loading…
Reference in New Issue
Block a user