We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8896ddb commit 0f5a038Copy full SHA for 0f5a038
1 file changed
test/update-db
@@ -27,12 +27,15 @@ PIDFILE=$LOCKDIR/pid
27
28
while true; do
29
if mkdir $LOCKDIR; then
30
+ chmod a+rwx $LOCKDIR
31
#echo ""
32
#date +"Time: %Y-%m-%d %H:%M"
33
#echo "Database dump file is from $(date -r $DBDUMP +'%Y-%m-%d %H:%M')."
34
#echo "Last update done $(date -r $DBDONE +'%Y-%m-%d %H:%M')."
35
if [ $DBDUMP -nt $DBTIME ]; then
36
echo "$$" > $PIDFILE
37
+ chmod a+rw $PIDFILE
38
+
39
log "Updating local database from $DBDUMP ..."
40
python ietf/manage.py dbshell < $DBDUMP
41
log "Updating local database from $DBFIX ..."
0 commit comments