aboutsummaryrefslogtreecommitdiff
path: root/system/apache-tomcat/rc.tomcat
diff options
context:
space:
mode:
Diffstat (limited to 'system/apache-tomcat/rc.tomcat')
-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 e82c6347c1b04..83ca5ccc9b5b8 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!"