[med-svn] [gbrowse] 10/12: Init lsb functions in all init scripts

Andreas Tille tille at debian.org
Wed Jan 18 15:25:02 UTC 2017


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

tille pushed a commit to branch master
in repository gbrowse.

commit 12d6dfd0c45c0b793f7c2c4bd7e6ad9943dc170f
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 18 16:20:04 2017 +0100

    Init lsb functions in all init scripts
---
 debian/changelog                     |  1 +
 debian/patches/source_init_functions | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index bd4830b..9854984 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ gbrowse (2.56+dfsg-1) UNRELEASED; urgency=medium
   * Add missing Depends: lsb-base (>= 3.0-6)
   * Fix runlevel of initscript
   * Fix manpage synopsises and spelling
+  * Init lsb functions in all init scripts
 
  -- Andreas Tille <tille at debian.org>  Wed, 18 Jan 2017 14:42:04 +0100
 
diff --git a/debian/patches/source_init_functions b/debian/patches/source_init_functions
index d5b07be..84536a3 100644
--- a/debian/patches/source_init_functions
+++ b/debian/patches/source_init_functions
@@ -14,3 +14,14 @@ Forwarded: no
  if [ -f /etc/default/gbrowse-slave ]; then
    . /etc/default/gbrowse-slave
  fi
+--- a/etc/init.d/gbrowse-aws-balancer
++++ b/etc/init.d/gbrowse-aws-balancer
+@@ -27,6 +27,8 @@ NICE=0
+ 
+ COMMAND=$1
+ 
++. /lib/lsb/init-functions
++
+ if [ -f /etc/default/gbrowse-aws-balancer ]; then
+   . /etc/default/gbrowse-aws-balancer
+ fi

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



More information about the debian-med-commit mailing list