From d1da04335a2fcd94a28436b57e7ce0a3ae4151a6 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 1 Nov 2021 23:20:17 -0400 Subject: [PATCH] Update install.sh --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 780e981..18121fd 100644 --- a/install.sh +++ b/install.sh @@ -394,13 +394,12 @@ install_pterodactyl() { chown -R www-data:www-data * /var/www/pterodactyl elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then chown -R nginx:nginx * /var/www/pterodactyl - semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pterodactyl/storage(/.*)?" + semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/pterodactyl/storage(/.*)?" restorecon -R /var/www/pterodactyl fi output "Creating panel queue listeners..." (crontab -l ; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run >> /dev/null 2>&1")| crontab - - service cron restart if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then cat > /etc/systemd/system/pteroq.service <<- 'EOF'