[SCM] Debian packaging of Pinto CPAN distribution branch, master, updated. f95ef465e399ac1f45d791fc5047f0667f62849b

Oleg Gashev oleg at gashev.net
Fri Jun 7 08:03:15 UTC 2013


The following commit has been merged in the master branch:
commit f95ef465e399ac1f45d791fc5047f0667f62849b
Author: Oleg Gashev <oleg at gashev.net>
Date:   Fri Jun 7 08:00:27 2013 +0000

    Updated initd script.

diff --git a/debian/pinto.init b/debian/pinto.init
index 320a813..723840b 100644
--- a/debian/pinto.init
+++ b/debian/pinto.init
@@ -26,8 +26,6 @@ set -e
 
 . /lib/lsb/init-functions
 
-OPTIONS="$PINTOD_OPTS --pid $PIDFILE"
-
 check_started () {
 	if [ -f "$PIDFILE" ]; then
 		pid="$(cat $PIDFILE)"
@@ -46,7 +44,7 @@ start_if_configured() {
 
 	if ! check_started; then
 		log_daemon_msg "Starting $DESC" "$NAME"
-		if ! START_ERROR=`start-stop-daemon --chuid pinto -u pinto --start --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS 2>&1`; then
+		if ! START_ERROR=`start-stop-daemon --chuid pinto -u pinto --start --pidfile $PIDFILE --exec $DAEMON -- $PINTOD_OPTS --pid $PIDFILE 2>&1`; then
 			echo -n " "
 			log_action_end_msg 1 "$START_ERROR"
 			exit 0

-- 
Debian packaging of Pinto CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list