From 0eaace3c6003dde300af930cac1acb40da5c531b Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Fri, 23 Aug 2024 15:40:17 +0200 Subject: [PATCH] Update INSTALL.sh --- INSTALL.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.sh b/INSTALL.sh index 3d760406..eb271c3b 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -1079,9 +1079,9 @@ set_system_cronjob(){ if [ "$PACKAGE_MANAGER" == "dnf" ] || [ "$PACKAGE_MANAGER" == "yum" ]; then # extra steps for SELinux - (allow unconfined_t user_cron_spool_t( file ( entrypoint))) - semodule -i mycron.cil - systemctl restart crond.service + restorecon -R /etc/cron.d/ > /dev/null 2>&1 + restorecon -R /etc/cron.d/openpanel > /dev/null 2>&1 + systemctl restart crond.service > /dev/null 2>&1 fi