Skip to content

Commit

Permalink
reset permissions every 5 min
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Mar 4, 2024
1 parent 6917f27 commit 17be7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php-fpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ while true; do
chmod -R g+rwx /var/www/html/
chown -R www-data:www-data /var/www/html/
echo "Reseted Permissions."
# Wait for 30 minutes
sleep 5
# Wait for 5 minutes
sleep 300
# Kill the process
#pid=$(cat $pidfile)
#kill $pid
Expand Down

0 comments on commit 17be7eb

Please sign in to comment.