#!/bin/bash
#you must login as ROOT
#chkconfig: 345 99 10 (boot by Main-Loop)
#description: auto start daemon mserverAadmin 
#
case "$1" in
 'start')
	# ustawia sciezke i uruchamia mserverAdmim
	/home/SYSQS/runserver_admin;;
 'stop')
	pidof mserverA;
	kill $(pidof mserverAdmin);;
esac

