[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Also directly call runmirrors for security



---
 config/debian-security/cron.unchecked | 4 ++--
 config/debian-security/cron.weekly    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked
index 9e6f170f..7d576c7d 100755
--- a/config/debian-security/cron.unchecked
+++ b/config/debian-security/cron.unchecked
@@ -106,7 +106,7 @@ new_last_changed=$(last_changed security)
 new_last_changed_build=$(last_changed build-queues)
 
 if [[ "${old_last_changed_build}" != "${new_last_changed_build}" ]]; then
-    sudo -u archvsync /home/archvsync/signal_security-buildd-pool
+    sudo -u archvsync runmirrors -a security-buildd-pool
 fi
 
 if [[ "${old_last_changed}" != "${new_last_changed}" ]]; then
@@ -117,7 +117,7 @@ if [[ "${old_last_changed}" != "${new_last_changed}" ]]; then
     dak generate-packages-sources2 -a security
     dak generate-releases -a security >/dev/null
     /srv/security-master.debian.org/dak/config/debian-security/make-mirror.sh >/dev/null
-    sudo -u archvsync -H /home/archvsync/signal_security
+    sudo -u archvsync -H runmirrors -a security
 fi
 
 cleanup
diff --git a/config/debian-security/cron.weekly b/config/debian-security/cron.weekly
index f4a6e641..8429dda9 100755
--- a/config/debian-security/cron.weekly
+++ b/config/debian-security/cron.weekly
@@ -37,7 +37,7 @@ cleanup
 trap - EXIT
 
 /srv/security-master.debian.org/dak/config/debian-security/make-mirror.sh >/dev/null
-sudo -u archvsync -H /home/archvsync/signal_security
+sudo -u archvsync -H runmirrors -a security
 
 ${scriptsdir}/link_morgue.sh
 
-- 
2.11.0



Reply to: