mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
368f226fb4
commit
0eaace3c60
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user