Created
March 29, 2018 12:27
-
-
Save SimonTart/ee55709b8b2fa8bc0fa267ebd71ff5cd to your computer and use it in GitHub Desktop.
kcp
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/bash | |
### BEGIN INIT INFO | |
# Provides: kcptun | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
### END INIT INFO | |
case "$1" in | |
start) | |
/root/kcptun/start.sh | |
;; | |
stop) | |
/root/kcptun/stop.sh | |
;; | |
restart) | |
/root/kcptun/restart.sh | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment