[25524] in Source-Commits
/svn/athena r25054 - trunk/third/moira/debian
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Mar 16 15:19:34 2011
Date: Wed, 16 Mar 2011 15:19:27 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201103161919.p2GJJRma028131@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jdreed
Date: 2011-03-16 15:19:27 -0400 (Wed, 16 Mar 2011)
New Revision: 25054
Modified:
trunk/third/moira/debian/debathena-moira-update-server.init
Log:
Add comments noting that workaround is temporary
Modified: trunk/third/moira/debian/debathena-moira-update-server.init
===================================================================
--- trunk/third/moira/debian/debathena-moira-update-server.init 2011-03-16 19:12:22 UTC (rev 25053)
+++ trunk/third/moira/debian/debathena-moira-update-server.init 2011-03-16 19:19:27 UTC (rev 25054)
@@ -49,6 +49,8 @@
# 1 if daemon was already running
# 2 if daemon could not be started
+ # Remove the following once #849 is fixed and update_server is
+ # capable of writing its own pidfile
PID="$(pgrep -f $DAEMON)"
if [ -n "$PID" ]; then
if [ -f "$PIDFILE" ] && \
@@ -64,6 +66,8 @@
--exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
+ # Remove the following once #849 is fixed and update_server is
+ # capable of writing its own pidfile
sleep 1
PID="$(pgrep -f $DAEMON)"
if [ -n "$PID" ]; then