[Debian-ha-commits] [pcs] 05/05: Updated maintainer provided pcsd init script
Richard Winters
devrik-guest at moszumanska.debian.org
Wed May 6 07:55:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
devrik-guest pushed a commit to branch master
in repository pcs.
commit 5ff2b562bc6a0300c15e52a44f2a594425ae30ea
Author: Richard B Winters <rik at mmogp.com>
Date: Wed May 6 03:21:28 2015 -0400
Updated maintainer provided pcsd init script
- Updated reference to environment configuration file
- Removed unused variable PARENT_NAME
Change-Id: Idd2759d21922a7b38e9052ea18c290f2c0af5af0
Signed-off-by: Richard B Winters <rik at mmogp.com>
---
debian/pcsd.init | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/pcsd.init b/debian/pcsd.init
index 68390c4..1d63ea5 100644
--- a/debian/pcsd.init
+++ b/debian/pcsd.init
@@ -20,7 +20,6 @@
# PATH
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="pcs daemon"
-PARENT_NAME=pcs
NAME=pcsd
EXEC=ruby
SUB_EXEC=/usr/share/pcsd/ssl.rb
@@ -37,7 +36,7 @@ SLEEP_DURATION=2
[ -x $(which $SUB_EXEC) ] || echo "$SUB_EXEC not found. Is pcs installed?"
# Read configuration variable file if it is present
-[ -r /etc/default/$NAME.conf ] && . /etc/default/$NAME.conf
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Source lsb init functions
. /lib/lsb/init-functions
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pcs.git
More information about the Debian-HA-Commits
mailing list