#!/bin/bash # # chkconfig: - 91 35 # description: Starts and stops MIDAS HTTP server. \ start() { echo -n $"Starting MHTTPD" echo /usr/local/bin/mhttpd -D } #stop() { # echo -n $"Shutting down MHTTPD" #} # See how we were called. case "$1" in start) start ;; # stop) # stop # ;; # restart|reload) # stop # sleep 1 # start # ;; *) echo $"Usage: $0 {start}" exit 1 esac