Add option DAEMON_LOG_SIZE_MAX

This commit is contained in:
remittor
2026-01-28 16:31:21 +03:00
parent 16d28be806
commit 7e3fc6f435
7 changed files with 93 additions and 35 deletions

View File

@@ -70,18 +70,18 @@ function boot
fi
fi
fi
init_before_start "$DAEMON_LOG_ENABLE"
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD start "$@"
}
function start
{
init_before_start "$DAEMON_LOG_ENABLE"
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD start "$@"
}
function restart
{
init_before_start "$DAEMON_LOG_ENABLE"
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD restart "$@"
}