# --
# rcotrs - rc script of otrs
# Copyright (C) 2002 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: README,v 1.2 2002/01/10 15:49:02 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see 
# the enclosed file COPYING for license information (GPL). If you 
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

case "$1" in
    start)
      echo -n "Starting OpenTRS ["
# check mysql
# check apache
    ;;
    stop)
      echo -n "Shutting down OpenTRS"
    ;;
    restart)
      $0 stop  && sleep 3
      $0 start
    ;;
    status)
        rcapache status
        rcmysql status
    ;;
    *)
    echo "Usage: $0 {start|stop|status|restart}"
    exit 1
esac

