head	1.3;
access;
symbols
	TIGRIS_1_0_8_1:1.3
	TIGRIS_1_0_8_0:1.3
	TIGRIS_1_0_4:1.3;
locks; strict;
comment	@# @;


1.3
date	2001.04.27.06.51.02;	author lucas;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.18.17.34.09;	author lucas;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.28.06.00.21;	author lucas;	state Exp;
branches;
next	;


desc
@@


1.3
log
@added JAVA_HOME variable for cron support. Thanks to St.Ack
@
text
@#!/bin/sh
#
# Startup script for the Tigris web server
#
# chkconfig: 345 91 32
# description: apache httpd

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
TIGRIS=/usr/local/tigris
SANDBOXCTL=$TIGRIS/scripts/sandboxctl
JAVA_HOME=/usr/jdk

case "$1" in
  start)
	echo -n "Starting tigris-httpd: "
    $SANDBOXCTL start
	;;
  stop)
	echo -n "Shutting down tigris-httpd: "
    $SANDBOXCTL stop
	;;
  restart)
    echo -n "Restarting tigris-httpd: "
    $SANDBOXCTL restart
	;;
  status)
    echo -n "Getting status of tigris-httpd: "
    $SANDBOXCTL status
    ;;
  *)
	echo "Usage: $0 {start|stop|status|restart}"
	exit 1
	;;
esac

exit 0

@


1.2
log
@lastest version..  added status
@
text
@d14 1
@


1.1
log
@initial commit of tigris-httpd script and spec file
@
text
@d28 4
d33 1
a33 1
	echo "Usage: $0 {start|stop|restart}"
@

