[Piuparts-commits] [piuparts] 01/01: crontab-slave.in: try to start slave every hour to make sure it's always running.

Holger Levsen holger at moszumanska.debian.org
Sat Apr 4 08:46:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 71656635cd777298b80ed40f856a73cbf8419e5e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Apr 4 10:46:34 2015 +0200

    crontab-slave.in: try to start slave every hour to make sure it's always running.
---
 conf/crontab-slave.in | 1 +
 debian/changelog      | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/conf/crontab-slave.in b/conf/crontab-slave.in
index 37688f2..57b520d 100644
--- a/conf/crontab-slave.in
+++ b/conf/crontab-slave.in
@@ -4,6 +4,7 @@
 # start slave_run automatically after reboots
 #
 @reboot @sharedir@/piuparts/slave/slave_cleanup ; @sharedir@/piuparts/slave/slave_run
+42 * * * * @sharedir@/piuparts/slave/slave_cleanup ; ! @sharedir@/piuparts/slave/slave_run || echo "piuparts-slave started by cron"
 
 #
 # monitor slave session every hour
diff --git a/debian/changelog b/debian/changelog
index 33b15cd..35129b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
     - Link to the new "Debian Package Tracker" (tracker.debian.org) instead to
       the old "Package Tracker System" (PTS).
     - Switch links to lintian.debian.org to https.
+  * crontab-slave.in: try to start slave every hour to make sure it's always
+    running.
 
  -- Andreas Beckmann <anbe at debian.org>  Wed, 03 Dec 2014 20:36:30 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list