diff options
author | Julien ROZO | 2009-07-21 12:45:36 +0200 |
---|---|---|
committer | Julien ROZO | 2009-07-21 12:45:36 +0200 |
commit | 363075e5314dde1fabdff3e38ce685853925f64b (patch) | |
tree | c231f5edb2b120b64b3333d0132c92387e2de258 | |
parent | 26162b2c5ea6025212450bbda691d4be55ebe0da (diff) |
tomcat-6-bin: in init.d/tomcat6, replaced a plain call to tomcat6 user by ${TOMCAT_USER}
-rw-r--r-- | bin-http/tomcat-6-bin/HISTORY | 3 | ||||
-rwxr-xr-x | bin-http/tomcat-6-bin/init.d/tomcat6 | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bin-http/tomcat-6-bin/HISTORY b/bin-http/tomcat-6-bin/HISTORY index 6f18d7d..06dc3ab 100644 --- a/bin-http/tomcat-6-bin/HISTORY +++ b/bin-http/tomcat-6-bin/HISTORY @@ -1,3 +1,6 @@ +2009-07-21 Julien "_kaze_" ROZO <julien@rozo.org> + * init.d/tomcat6: replaced a plain call to tomcat6 user by ${TOMCAT_USER} + 2009-06-11 Julien "_kaze_" ROZO <julien@rozo.org> * BUILD, DEPENDS, DETAILS, HISTORY, INSTALL, PRE_BUILD, init.d/tomcat6, init.d/tomcat6.conf: created this spell diff --git a/bin-http/tomcat-6-bin/init.d/tomcat6 b/bin-http/tomcat-6-bin/init.d/tomcat6 index 9e63927..a6bd111 100755 --- a/bin-http/tomcat-6-bin/init.d/tomcat6 +++ b/bin-http/tomcat-6-bin/init.d/tomcat6 @@ -19,7 +19,7 @@ start() echo "$NAME already running"; else /bin/su -s /bin/sh $TOMCAT_USER -c $TOMCAT_HOME/bin/startup.sh - echo `ps -U tomcat6 -o pid=` > $PIDFILE + echo `ps -U ${TOMCAT_USER} -o pid=` > $PIDFILE fi evaluate_retval } |