Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-08-23 15:40:17 +02:00 committed by GitHub
parent 368f226fb4
commit 0eaace3c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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