]> git.decadent.org.uk Git - dak.git/commitdiff
dinstall
authorJoerg Jaspert <joerg@debian.org>
Wed, 28 Oct 2009 09:57:41 +0000 (10:57 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 28 Oct 2009 09:57:41 +0000 (10:57 +0100)
remove the runparts, that dir no longer exist.
move the one and only function of it directly into dinstall, where it belongs.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall

index 8ee9861fb2e9cbf4f21848bec861e154d85321ca..1c9fa5afefff3284fd27f860fcb63d40d5aad16d 100755 (executable)
@@ -355,9 +355,12 @@ function merkel3() {
     ssh -2 -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 -i ~/.ssh/push_merkel_ddaccess dak@merkel.debian.org sleep 1
 }
 
     ssh -2 -o BatchMode=yes -o SetupTimeOut=30 -o ConnectTimeout=30 -i ~/.ssh/push_merkel_ddaccess dak@merkel.debian.org sleep 1
 }
 
-function runparts() {
-    log "Using run-parts to run scripts in $base/scripts/distmnt"
-    run-parts --report $base/scripts/distmnt
+function mirrorpush() {
+    log "Starting the mirrorpush"
+    date -u > /srv/ftp.debian.org/web/mirrorstart
+    echo "Using dak v1" >> /srv/ftp.debian.org/web/mirrorstart
+    echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/mirrorstart
+    sudo -H -u archvsync /home/archvsync/runmirrors > ~dak/runmirrors.log 2>&1 &
 }
 
 function i18n2() {
 }
 
 function i18n2() {
@@ -861,8 +864,8 @@ GO=(
 stage $GO &
 
 GO=(
 stage $GO &
 
 GO=(
-    FUNC="runparts"
-    TIME="run-parts"
+    FUNC="mirrorpush"
+    TIME="mirrorpush"
     ARGS=""
     ERR="false"
 )
     ARGS=""
     ERR="false"
 )