#!/bin/bash

### BEGIN INIT INFO
# Provides:          warsaw
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Warsaw Service
# Description:       Warsaw Service
#  Developed by GAS Tecnologia<info@gastecnologia.com.br>
#  Copyright 2015 GAS Tecnologia
### END INIT INFO

case "$1" in
    start)
        warsaw start
        exit $?
        ;;
    stop)
        warsaw stop
        exit $?
        ;;
    restart)
        warsaw stop
        warsaw start
        exit $?
        ;;
    *)
        exit 1
        ;;
esac
exit 0
