summaryrefslogtreecommitdiffstats
path: root/system/apache-tomcat/rc.tomcat
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2011-04-01 23:29:26 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2011-04-01 23:29:26 +0200
commitf5807a60d265b4baf435c6b357f01349ca663586 (patch)
tree5eb8e5fb932fea302cf370a3b09d2ac55533e069 /system/apache-tomcat/rc.tomcat
parentd6314d6547c1fcc0db72b6a7de9bbd13a2bedb0c (diff)
downloadslackbuilds-f5807a60d265b4baf435c6b357f01349ca663586.tar.gz
slackbuilds-f5807a60d265b4baf435c6b357f01349ca663586.tar.xz
system/apache-tomcat: Updated for version 7.0.11
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--system/apache-tomcat/rc.tomcat3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/apache-tomcat/rc.tomcat b/system/apache-tomcat/rc.tomcat
index e82c6347c1..83ca5ccc9b 100644
--- a/system/apache-tomcat/rc.tomcat
+++ b/system/apache-tomcat/rc.tomcat
@@ -1,6 +1,6 @@
#!/bin/sh
# Start/stop/restart apache-tomcat.
-# $Id: rc.apache-tomcat,v 1.1.3 2010/02/03
+# $Id: rc.apache-tomcat,v 1.1.4 2011/04/01
# Authors: Heinz Wiesinger <pprkut@liwjatan.at>, Vincent Batts <vbatts@hashbangbash.com>
# ---------------------------------------------------------------------------
@@ -27,6 +27,7 @@ tomcat_start() {
if [ -e "$PIDFILE" ]; then
echo "already running!"
else
+ unset DISPLAY
cd /var/lib/tomcat
$TOMCAT_CMD
echo "done!"