Clint Byrum has proposed merging 
lp:~clint-fewbar/ubuntu/precise/zookeeper/drop-daemon-dep into 
lp:ubuntu/zookeeper.

Requested reviews:
  Ubuntu Server Team (ubuntu-server)

For more details, see:
https://code.launchpad.net/~clint-fewbar/ubuntu/precise/zookeeper/drop-daemon-dep/+merge/89284

Uses start-stop-daemon to chuser so daemon is not needed
-- 
https://code.launchpad.net/~clint-fewbar/ubuntu/precise/zookeeper/drop-daemon-dep/+merge/89284
Your team Ubuntu Server Team is requested to review the proposed merge of 
lp:~clint-fewbar/ubuntu/precise/zookeeper/drop-daemon-dep into 
lp:ubuntu/zookeeper.
=== modified file 'debian/changelog'
--- debian/changelog	2011-12-01 15:03:53 +0000
+++ debian/changelog	2012-01-19 16:21:15 +0000
@@ -1,3 +1,12 @@
+zookeeper (3.3.4+dfsg1-1ubuntu1) UNRELEASED; urgency=low
+
+  * - d/zookeeperd.upstart.in: Change to use start-stop-daemon instead 
+      of daemon.
+    - d/ubuntu_control_vars: remove daemon dependency
+
+
+ -- Clint Byrum <cl...@fewbar.com>  Mon, 09 Jan 2012 16:48:15 +0100
+
 zookeeper (3.3.4+dfsg1-1) unstable; urgency=low
 
   [ James Page ]

=== modified file 'debian/control'
--- debian/control	2011-12-01 15:03:53 +0000
+++ debian/control	2012-01-19 16:21:15 +0000
@@ -1,7 +1,8 @@
 Source: zookeeper
 Section: java
 Priority: optional
-Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org>
 Uploaders: James Page <james.p...@ubuntu.com>
 Homepage: http://hadoop.apache.org/zookeeper
 Vcs-Browser: http://git.debian.org/?p=pkg-java/zookeeper.git

=== modified file 'debian/ubuntu_control_vars'
--- debian/ubuntu_control_vars	2011-12-01 15:03:53 +0000
+++ debian/ubuntu_control_vars	2012-01-19 16:21:15 +0000
@@ -1,1 +1,1 @@
-zookeeperd-deps= daemon
+zookeeperd-deps= 

=== modified file 'debian/zookeeperd.upstart.in'
--- debian/zookeeperd.upstart.in	2011-12-01 15:03:53 +0000
+++ debian/zookeeperd.upstart.in	2012-01-19 16:21:15 +0000
@@ -21,7 +21,7 @@
     if [ -z "$JMXDISABLE" ]; then
         JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=$JMXLOCALONLY"
     fi
-    exec daemon --name=zookeeper --inherit --user=$USER \
-    	-- $JAVA -cp $CLASSPATH $JAVA_OPTS -Dzookeeper.log.dir=${ZOO_LOG_DIR} \
+    exec start-stop-daemon --start -c $USER --exec $JAVA \
+    	-- -cp $CLASSPATH $JAVA_OPTS -Dzookeeper.log.dir=${ZOO_LOG_DIR} \
       	-Dzookeeper.root.logger=${ZOO_LOG4J_PROP} $ZOOMAIN $ZOOCFG
 end script

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to