[Python-apps-commits] r11275 - in packages/debomatic/trunk/debian (4 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Thu Sep 11 11:36:49 UTC 2014


    Date: Thursday, September 11, 2014 @ 11:36:48
  Author: dktrkranz
Revision: 11275

Adjust init.d and service file to point to /usr/sbin/debomatic

Added:
  packages/debomatic/trunk/debian/patches/
  packages/debomatic/trunk/debian/patches/sbin.patch
  packages/debomatic/trunk/debian/patches/series
Modified:
  packages/debomatic/trunk/debian/changelog

Modified: packages/debomatic/trunk/debian/changelog
===================================================================
--- packages/debomatic/trunk/debian/changelog	2014-09-11 11:32:32 UTC (rev 11274)
+++ packages/debomatic/trunk/debian/changelog	2014-09-11 11:36:48 UTC (rev 11275)
@@ -1,6 +1,8 @@
 debomatic (0.13~git20140911-1) UNRELEASED; urgency=medium
 
   * New upstream development snapshot.
+  * debian/patches/sbin.patch:
+    - Adjust init.d and service file to point to /usr/sbin/debomatic.
   * debian/control:
     - Add python3-toposort to Depends.
     - Adjust Homepage field.

Added: packages/debomatic/trunk/debian/patches/sbin.patch
===================================================================
--- packages/debomatic/trunk/debian/patches/sbin.patch	                        (rev 0)
+++ packages/debomatic/trunk/debian/patches/sbin.patch	2014-09-11 11:36:48 UTC (rev 11275)
@@ -0,0 +1,41 @@
+Description: Adjust init.d and service file to point to /usr/sbin/debomatic
+Author: Luca Falavigna <dktrkranz at debian.org
+Forwarded: not-needed
+
+Index: debomatic-0.13~git20140911/etc/init.d/debomatic
+===================================================================
+--- debomatic-0.13~git20140911.orig/etc/init.d/debomatic
++++ debomatic-0.13~git20140911/etc/init.d/debomatic
+@@ -13,7 +13,7 @@ NAME=debomatic
+ 
+ [ -r /etc/default/$NAME ] && . /etc/default/$NAME
+ 
+-DAEMON=/usr/bin/debomatic
++DAEMON=/usr/sbin/debomatic
+ DAEMON_ARGS="-c $DEBOMATIC_CONFIG_FILE $DEBOMATIC_OPTS"
+ SCRIPTNAME=/etc/init.d/$NAME
+ 
+@@ -67,7 +67,7 @@ case "$1" in
+ 	esac
+ 	;;
+   status)
+-	status_of_proc /usr/bin/$NAME $NAME
++	status_of_proc /usr/sbin/$NAME $NAME
+ 	;;
+   *)
+ 	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+Index: debomatic-0.13~git20140911/lib/systemd/system/debomatic.service
+===================================================================
+--- debomatic-0.13~git20140911.orig/lib/systemd/system/debomatic.service
++++ debomatic-0.13~git20140911/lib/systemd/system/debomatic.service
+@@ -4,8 +4,8 @@ ConditionPathExists=/etc/debomatic/debom
+ 
+ [Service]
+ Type=simple
+-ExecStart=/usr/bin/debomatic -c /etc/debomatic/debomatic.conf -n
+-ExecStop=/usr/bin/debomatic -c /etc/debomatic/debomatic.conf -q
++ExecStart=/usr/sbin/debomatic -c /etc/debomatic/debomatic.conf -n
++ExecStop=/usr/sbin/debomatic -c /etc/debomatic/debomatic.conf -q
+ KillMode=process
+ SendSIGKILL=no
+ TimeoutStopSec=0

Added: packages/debomatic/trunk/debian/patches/series
===================================================================
--- packages/debomatic/trunk/debian/patches/series	                        (rev 0)
+++ packages/debomatic/trunk/debian/patches/series	2014-09-11 11:36:48 UTC (rev 11275)
@@ -0,0 +1 @@
+sbin.patch




More information about the Python-apps-commits mailing list