Merge pull request #256 from zhongyehong/master

change help url
This commit is contained in:
zhong yehong 2017-06-07 13:34:15 +08:00 committed by GitHub
commit d7123625c6
4 changed files with 11 additions and 4 deletions

View File

@ -107,7 +107,6 @@ pre_start_master () {
}
do_start_master () {
pre_start_master
DAEMON_OPTS_MASTER=$1
@ -194,11 +193,13 @@ do_stop_user () {
case "$1" in
init)
pre_start_master
do_start_master "new"
do_start_proxy
do_start_web
;;
start)
pre_start_master
do_start_master "recovery"
do_start_proxy
do_start_web
@ -214,6 +215,7 @@ case "$1" in
do_stop_master
do_stop_proxy
do_stop_web
pre_start_master
do_start_master "recovery"
do_start_proxy
do_start_web
@ -234,6 +236,7 @@ case "$1" in
reinit)
do_stop_master
do_stop_proxy
pre_start_master
do_start_master "new"
do_start_proxy
;;

View File

@ -107,7 +107,6 @@ pre_start_master () {
}
do_start_master () {
pre_start_master
DAEMON_OPTS_MASTER=$1
@ -159,6 +158,7 @@ do_start_web () {
}
do_start_user () {
log_daemon_msg "Starting $DAEMON_NAME_USER in $FS_PREFIX"
DAEMON_OPTS_USER="-p $USER_PORT"
@ -198,12 +198,14 @@ do_stop_user () {
case "$1" in
init)
pre_start_master
do_start_user
do_start_proxy
do_start_web
do_start_master "new"
;;
start)
pre_start_master
do_start_user
do_start_proxy
do_start_web
@ -222,6 +224,7 @@ case "$1" in
do_stop_web
do_stop_proxy
do_stop_master
pre_start_master
do_start_user
do_start_proxy
do_start_web
@ -249,6 +252,7 @@ case "$1" in
do_stop_proxy
do_stop_master
do_stop_user
pre_start_master
do_start_user
do_start_proxy
do_start_web

View File

@ -223,7 +223,7 @@
<i><a href="http://github.com/unias/docklet">Docklet {{ version }}</a></i>
</div>
<!-- Default to the left -->
<strong>Copyright</strong>&copy;&nbsp;2016 <a href="http://docklet.unias.org">UniAS</a>@<a href="http://www.sei.pku.edu.cn"> SEI, PKU</a>
<strong>Copyright</strong>&copy;&nbsp;2017 <a href="http://unias.github.io/docklet">UniAS</a>@<a href="http://www.sei.pku.edu.cn"> SEI, PKU</a>
</footer>

View File

@ -112,7 +112,7 @@ def dashboard():
@app.route("/document/", methods=['GET'])
def redirect_dochome():
return redirect("http://docklet.unias.org/userguide")
return redirect("http://unias.github.io/docklet/userguide")
@app.route("/config/", methods=['GET'])
@login_required