diff options
author | Jean-Noël Rivasseau <elvanor@gentoo.org> | 2011-04-08 11:25:06 +0000 |
---|---|---|
committer | Jean-Noël Rivasseau <elvanor@gentoo.org> | 2011-04-08 11:25:06 +0000 |
commit | d6c8ff818b472c217b458b891d1d7b59ad8c2175 (patch) | |
tree | 26613a627c916a5c88b5a49912b5ac12e783d66a /www-servers/tomcat/files | |
parent | Fix DEPEND value. (diff) | |
download | gentoo-2-d6c8ff818b472c217b458b891d1d7b59ad8c2175.tar.gz gentoo-2-d6c8ff818b472c217b458b891d1d7b59ad8c2175.tar.bz2 gentoo-2-d6c8ff818b472c217b458b891d1d7b59ad8c2175.zip |
Fixed init scripts again.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'www-servers/tomcat/files')
-rw-r--r-- | www-servers/tomcat/files/6/tomcat.init.2 | 8 | ||||
-rw-r--r-- | www-servers/tomcat/files/6/tomcat.init.3 | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/www-servers/tomcat/files/6/tomcat.init.2 b/www-servers/tomcat/files/6/tomcat.init.2 index 10738925e96f..9e08e07014ef 100644 --- a/www-servers/tomcat/files/6/tomcat.init.2 +++ b/www-servers/tomcat/files/6/tomcat.init.2 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.init.2,v 1.2 2011/04/05 17:36:16 elvanor Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.init.2,v 1.3 2011/04/08 11:25:06 elvanor Exp $ opts="${opts} forcestop" @@ -47,20 +47,20 @@ init_env_vars() { ssd() { local exec=${1} shift - local args="--start --quiet --background \ + local args="--start --quiet \ --chdir "${CATALINA_TMPDIR}" \ --chuid ${CATALINA_USER}:${CATALINA_GROUP} \ --make-pidfile --pidfile /var/run/tomcat-6.pid" # bug #243348 if [ -e /etc/init.d/sysfs ] ; then - args="${args} \ + args="${args} --background \ --stdout ${CATALINA_BASE}/logs/catalina.out \ --stderr ${CATALINA_BASE}/logs/catalina.out" start-stop-daemon ${args} --exec ${exec} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START} else start-stop-daemon ${args} --exec ${exec} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START} >> \ - "${CATALINA_BASE}/logs/catalina.out" 2>&1 + "${CATALINA_BASE}/logs/catalina.out" 2>&1 & fi return $? } diff --git a/www-servers/tomcat/files/6/tomcat.init.3 b/www-servers/tomcat/files/6/tomcat.init.3 index 17c92aa51c3e..dd5c2667bf01 100644 --- a/www-servers/tomcat/files/6/tomcat.init.3 +++ b/www-servers/tomcat/files/6/tomcat.init.3 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.init.3,v 1.2 2011/04/05 17:36:16 elvanor Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/6/tomcat.init.3,v 1.3 2011/04/08 11:25:06 elvanor Exp $ opts="${opts} forcestop" @@ -47,20 +47,20 @@ init_env_vars() { ssd() { local exec=${1} shift - local args="--start --quiet --background \ + local args="--start --quiet \ --chdir "${CATALINA_TMPDIR}" \ --chuid ${CATALINA_USER}:${CATALINA_GROUP} \ --make-pidfile --pidfile /var/run/tomcat-6.pid" # bug #243348 if [ -e /etc/init.d/sysfs ] ; then - args="${args} \ + args="${args} --background \ --stdout ${CATALINA_BASE}/logs/catalina.out \ --stderr ${CATALINA_BASE}/logs/catalina.out" start-stop-daemon ${args} --exec ${exec} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START} else start-stop-daemon ${args} --name ${exec} --exec ${exec} -- ${OPTS_CP} "$@" ${CATALINA_ARGS} ${TOMCAT_START} >> \ - "${CATALINA_BASE}/logs/catalina.out" 2>&1 + "${CATALINA_BASE}/logs/catalina.out" 2>&1 & fi return $? } |