Last active
March 16, 2018 14:30
-
-
Save hostmaster/45fc4f0ffc5c06ef33a4 to your computer and use it in GitHub Desktop.
prevent services from starting automatically
This file contains 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
case $2 in | |
stop|force-stop|status) | |
exit | |
;; | |
rotate) | |
exit | |
;; | |
*) | |
exit 101 | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment