openrc: drop separate logs

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2024-09-04 22:25:57 +02:00
parent 161790f32b
commit 51f8c35841
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A
3 changed files with 0 additions and 18 deletions

View File

@ -4,9 +4,6 @@ install_data('scx.initrd', install_dir: '/etc/init.d', rename: 'scx')
# Install the 'scx' file to the '/etc/default' directory
install_data('../scx', install_dir: '/etc/default')
# Install the 'scx.logrotate' file to /etc/logrotate.d/scx
install_data('scx.logrotate', install_dir: '/etc/logrotate.d', rename: 'scx')
# Symlinking /etc/default/scx to /etc/conf.d/scx
install_symlink(
'scx',

View File

@ -10,15 +10,6 @@ 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}"
# }

View File

@ -1,6 +0,0 @@
/var/log/scx/*.log {
missingok
minsize 4M
notifempty
copytruncate
}