C2A-Installation-Server/docker/add-alias.sh

13 lines
603 B
Bash
Raw Normal View History

2019-04-05 05:02:19 +00:00
echo "
# Alias C2A
alias restart-api='docker restart c2a-api-prod'
alias restart-api-dev='docker restart c2a-api-dev'
2019-04-05 05:02:19 +00:00
2019-05-08 04:33:08 +00:00
alias update-web-platform='nohup /root/.bin/update-web-platform.sh &>> /var/log/c2a/update-web-platform.log&'
alias update-web-platform-dev='nohup /root/.bin/update-web-platform-dev.sh &>> /var/log/c2a/update-web-platform-dev.log&'
alias update-web-app='nohup /root/.bin/update-web-app.sh &>> /var/log/c2a/update-web-app.log&'
alias update-web-app-dev='nohup /root/.bin/update-web-app-dev.sh &>> /var/log/c2a/update-web-app-dev.log&'
# export PATH=$PATH:/root/.bin
2019-04-05 05:02:19 +00:00
" > /root/.bashrc