Skip to content

Commit

Permalink
docker: update entrypoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wine93 authored and aspirer committed Dec 6, 2021
1 parent cb73692 commit b1f805d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions curvefs/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ function prepare() {
g_start_args="--config-file $conf_path"
;;
mds)
g_binary="$g_prefix/sbin/curvefs_mds"
g_binary="$g_prefix/sbin/curvefs-mds"
g_start_args="--confPath $conf_path"
;;
metaserver)
g_binary="$g_prefix/sbin/curvefs_metaserver_main"
g_binary="$g_prefix/sbin/curvefs-metaserver"
g_start_args="--confPath $conf_path"
;;
client)
Expand Down Expand Up @@ -112,6 +112,7 @@ function main() {

prepare
create_directory
[[ $(command -v crontab) ]] && cron
exec $g_binary $g_start_args
}

Expand Down

0 comments on commit b1f805d

Please sign in to comment.