#!/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