Delete the index files on each restart.
This commit is contained in:
parent
c6fd3f4786
commit
c7f4613d22
4
run.sh
4
run.sh
@ -75,6 +75,10 @@ done
|
|||||||
echo "`date` - Check if any node modules need updated/installed."
|
echo "`date` - Check if any node modules need updated/installed."
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
# Reset generated index files.
|
||||||
|
echo "`date` - Removing old index files."
|
||||||
|
find files/photos/ -name "*".html -print -delete
|
||||||
|
|
||||||
## Main ##
|
## Main ##
|
||||||
|
|
||||||
echo "`date` - Start website API."
|
echo "`date` - Start website API."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user