From 4bc8d353e43528bcf361e8e0701654e5e1f62872 Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Fri, 26 May 2017 09:18:26 -0300 Subject: [PATCH] bucardo status instead of a bash when container is started --- lib/entrypoint.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/entrypoint.sh b/lib/entrypoint.sh index b81339d..deab014 100644 --- a/lib/entrypoint.sh +++ b/lib/entrypoint.sh @@ -96,7 +96,7 @@ one_time_copy_attr() { local value=$(sync_attr $sync_index onetimecopy integer) local invalid_chars=$(echo $string_attr | sed -e "s/[0,1,2]//") check_invalid_chars $value $invalid_chars - echo $value + echo $value } load_db_pass() { @@ -185,8 +185,7 @@ main() { add_databases_to_bucardo add_syncs_to_bucardo start_bucardo - /bin/bash - #bucardo_status + bucardo_status } -main \ No newline at end of file +main