Skip to content

Commit c950011

Browse files
committed
added sync to prevent 'text file busy' on slow filesystems
1 parent 60b29b4 commit c950011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fi
138138
if [[ "$RUN_SCRIPTS" == "1" ]] ; then
139139
if [ -d "/var/www/html/scripts/" ]; then
140140
# make scripts executable incase they aren't
141-
chmod -Rf 750 /var/www/html/scripts/*
141+
chmod -Rf 750 /var/www/html/scripts/*; sync;
142142
# run scripts in number order
143143
for i in `ls /var/www/html/scripts/`; do /var/www/html/scripts/$i ; done
144144
else

0 commit comments

Comments
 (0)