deleted: services/scx.initrd

This commit is contained in:
Damian N. 2024-04-03 19:47:41 +02:00
parent 3e6bcab337
commit 5163d8b441
No known key found for this signature in database
GPG Key ID: BB1013E79BC0197C

View File

@ -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}"
# }