Skip to content

Commit

Permalink
Merge pull request richarvey#197 from that0n3guy/textFileBusy
Browse files Browse the repository at this point in the history
added sync to prevent 'text file busy' on slow filesystems
  • Loading branch information
Ric Harvey authored Dec 2, 2017
2 parents 28f7fbd + c950011 commit 03b7770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fi
if [[ "$RUN_SCRIPTS" == "1" ]] ; then
if [ -d "/var/www/html/scripts/" ]; then
# make scripts executable incase they aren't
chmod -Rf 750 /var/www/html/scripts/*
chmod -Rf 750 /var/www/html/scripts/*; sync;
# run scripts in number order
for i in `ls /var/www/html/scripts/`; do /var/www/html/scripts/$i ; done
else
Expand Down

0 comments on commit 03b7770

Please sign in to comment.