Created
May 11, 2019 01:41
-
-
Save ykamez/145098991bdf525b6ef278439e20c7b8 to your computer and use it in GitHub Desktop.
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
alias deploy="git checkout master & git pull origin master \ | |
& sudo systemctl reload nginx \ | |
& sudo systemctl restart isuda.ruby.service \ | |
& sudo systemctl restart isutar.ruby.service \ | |
" | |
alias restart="sudo systemctl reload nginx \ | |
& sudo systemctl restart isuda.ruby.service \ | |
& sudo systemctl restart isutar.ruby.service \ | |
& sudo systemctl status isuda.ruby.service \ | |
& sudo systemctl status isutar.ruby.service \ | |
" | |
alias katare="sudo cat /var/log/nginx/access.log | $HOME/kataribe" | |
# sudo mv "/var/log/nginx/access.log" "/var/log/nginx/`date +"%Y%m%d%H%M%S"`_access.log" | |
# sudo systemctl restart nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment