X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=e2dfe7c805e01af3a6ca3573b9996298ddf90464;hb=aa727eb70e1cc93b10d7bbd315186600bd424998;hp=05bc9e8233cc8c51e4613ff9fed9c95bbfe2d7ae;hpb=9ea7dd5f4a515bc0e68f8267a2db9e80bdcdd81e;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 05bc9e82..e2dfe7c8 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -238,9 +238,6 @@ GO=( ) stage $GO -rm -f "$LOCK_ACCEPTED" -rm -f "$LOCK_NEW" - state "indices" GO=( @@ -384,11 +381,21 @@ GO=( ) stage $GO +rm -f "$LOCK_ACCEPTED" +rm -f "$LOCK_NEW" rm -f "${LOCK_DAILY}" ts "locked part finished" state "postlock" +GO=( + FUNC="changelogs" + TIME="changelogs" + ARGS="" + ERR="false" +) +stage $GO & + GO=( FUNC="pgdump_post" TIME="pg_dump2" @@ -413,14 +420,6 @@ GO=( ) stage $GO & -GO=( - FUNC="reports" - TIME="reports" - ARGS="" - ERR="" -) -stage $GO & - GO=( FUNC="dm" TIME="" @@ -511,6 +510,9 @@ GO=( ) stage $GO +# we need to wait for the background processes before the end of dinstall +wait + log "Daily cron scripts successful, all done" exec > "$logdir/afterdinstall.log" 2>&1