Skip to content

Commit f84349d

Browse files
Tom NoogenTom Noogen
authored andcommitted
update startup
1 parent 9255251 commit f84349d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

files/root/bin/my-startup.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ function log {
1515
}
1616

1717
if [ -n "$SERVER_CONF" ] ; then
18-
log "Getting new server conf"
18+
log "Getting new server.conf"
19+
1920
mv /etc/nginx/sites-enabled/server.conf /etc/nginx/sites-enabled/server.bak
2021
curl -SL $SERVER_CONF --output /etc/nginx/sites-enabled/server.conf
2122
fi
2223

2324
if [ -n "$GEODB_URL" ] ; then
24-
log "Updating geo db"
25+
log "Updating geo DB"
26+
27+
mv /etc/nginx/GeoLiteCity.dat /etc/nginx/GeoLiteCity.bak
2528
curl $GEODB_URL | gzip -d - > /etc/nginx/GeoLiteCity.dat
2629
fi
2730

0 commit comments

Comments
 (0)