You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
351 B

#!/usr/bin/env bash
cd ../
case $1 in
s|start)
echo "start server"
nohup ./tools &
;;
stop)
echo "stop ..."
killall zday-jira-code
;;
reload)
echo "reload..."
killall tools
nohup ./tools &
;;
*)
echo "Usage:[start|stop|reload]"
exit 1
;;
esac
exit 0