[Debian-l10n-commits] r1931 - in /pootle/trunk/debian: changelog pootle.init

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Fri Sep 11 22:08:32 UTC 2009


Author: nekral-guest
Date: Fri Sep 11 22:08:32 2009
New Revision: 1931

URL: http://svn.debian.org/wsvn/?sc=1&rev=1931
Log:
  * debian/pootle.init: With the new version, start-stop-daemon needs to do
    the daemonization and creation of the pidfile.

Modified:
    pootle/trunk/debian/changelog
    pootle/trunk/debian/pootle.init

Modified: pootle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/changelog?rev=1931&op=diff
==============================================================================
--- pootle/trunk/debian/changelog (original)
+++ pootle/trunk/debian/changelog Fri Sep 11 22:08:32 2009
@@ -9,6 +9,8 @@
   * debian/patches/series:
     + removed all patches. They should be re-checked.
   * debian/pootle.docs: There is no Pootle directory anymore.
+  * debian/pootle.init: With the new version, start-stop-daemon needs to do
+    the daemonization and creation of the pidfile.
 
  -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>  Sat, 12 Sep 2009 00:05:29 +0200
 

Modified: pootle/trunk/debian/pootle.init
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/pootle.init?rev=1931&op=diff
==============================================================================
--- pootle/trunk/debian/pootle.init (original)
+++ pootle/trunk/debian/pootle.init Fri Sep 11 22:08:32 2009
@@ -34,7 +34,8 @@
 POOTLE_GROUP=pootle
 DESC="Pootle daemon: PootleServer"
 
-OPTIONS="-B --pidfile=$PIDFILE $POOTLE_OPTIONS"
+#OPTIONS="-B --pidfile=$PIDFILE $POOTLE_OPTIONS"
+OPTIONS=""
 
 case "$1" in
 	start)
@@ -46,6 +47,8 @@
 		echo -n "Starting $DESC..."
 		if LC_ALL=C start-stop-daemon --start --quiet \
 		    --oknodo \
+		    --background \
+		    --make-pidfile \
 		    --pidfile $PIDFILE \
 		    --exec /usr/bin/python \
 		    --user $POOTLE_USER \




More information about the Debian-l10n-commits mailing list