Created
December 10, 2014 13:25
-
-
Save ety001/f9d3e3e85ef20f33e9a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
case "$1" in | |
start) | |
/usr/local/bin/ssserver -c /etc/config.json > /dev/null 2>&1 & | |
;; | |
stop) | |
pkill -9 ssserver | |
;; | |
restart) | |
pkill -9 ssserver | |
/usr/local/bin/ssserver -c /etc/config.json > /dev/null 2>&1 & | |
;; | |
esac | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment