From 0932f77facb720e1d08ea8859be363fc926a45d8 Mon Sep 17 00:00:00 2001 From: kytv Date: Wed, 8 Feb 2012 15:21:43 +0000 Subject: [PATCH] pidfile is now set via i2prouter, not wrapper.config --- installer/resources/i2prouter | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 8064046652..3603b93f8b 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -306,11 +306,7 @@ ANCHORFILE="$PIDDIR/$APP_NAME.anchor" COMMANDFILE="$PIDDIR/$APP_NAME.command" STATUSFILE="$PIDDIR/$APP_NAME.status" JAVASTATUSFILE="$PIDDIR/$APP_NAME.java.status" -if [ $(which awk) ]; then - PIDFILE="$(awk -F'=' '/^ *wrapper\.pidfile/{print $2}' "$WRAPPER_CONF")" -else - PIDFILE="$PIDDIR/$APP_NAME.pid" -fi +PIDFILE="$PIDDIR/$APP_NAME.pid" LOCKDIR="/var/lock/subsys" LOCKFILE="$LOCKDIR/$APP_NAME" pid=""