Skip to content

joerong666/crondeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crondeploy

auto deploy your program and attach it to cronjob

usage

Usage: /home/joerong/work/fooyun/fooyun/source/dev/script/deploy/my_deploy.sh [OPTIONS]
OPTIONS:
-m method: install|upgrade|status|start|stop|restart
-s service: web|webapi|mgr|func_master|func_slave
-v version: which version to install/upgrade
-u urlRoot: url root where to download deploy files

install

bash <(curl https://github.com/joerong666/crondeploy/blob/master/my_deploy.sh) -m install -s web -v 1.5.3

upgrade

bash <(curl https://github.com/joerong666/crondeploy/blob/master/my_deploy.sh) -m upgrade -s web -v 1.5.3

start

bash <(curl https://github.com/joerong666/crondeploy/blob/master/my_deploy.sh) -m start -s web

stop

bash <(curl https://github.com/joerong666/crondeploy/blob/master/my_deploy.sh) -m stop -s web

restart

bash <(curl https://github.com/joerong666/crondeploy/blob/master/my_deploy.sh) -m restart -s web

About

auto deploy your program and attach it to cronjob

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages