We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3b743 commit 30fcaf7Copy full SHA for 30fcaf7
scripts/docker-dingo-store.sh
@@ -59,7 +59,7 @@ start() {
59
i=1
60
program_dir=$BASE_DIR/dist/${FLAGS_role}${i}
61
# clean log
62
- rm -f ${program_dir}/log/*
+ # rm -f ${program_dir}/log/*
63
start_program_docker "${FLAGS_role}" "${program_dir}"
64
}
65
@@ -77,7 +77,7 @@ stop()
77
78
usage()
79
{
80
- echo "Usage: $0 [deploy|start|stop|restart|cleanstart]"
+ echo "Usage: $0 [deploy|start|stop|restart|cleanstart|deploystart]"
81
82
83
if [ $# -lt 1 ];then
@@ -99,6 +99,9 @@ elif [ "$1" = "cleanstart" ];then
99
clean
100
deploy
101
start
102
+elif [ "$1" = "deploystart" ];then
103
+ deploy
104
+ start
105
else
106
usage
107
fi
0 commit comments