#!/bin/bash
#
# MyServer Init Script
#
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Description:
# Short-Description:
### END INIT INFO
case "$1" in
start)
start-stop-daemon --start --exec myserver
;;
stop)
start-stop-daemon --stop myserver
;;
reload)
start-stop-daemon --stop myserver
start-stop-daemon --start --exec myserver
;;
esac