From 502d2d13a62f01aac0afaf4bc39cda3556835e43 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Tue, 9 Apr 2019 12:48:55 +0200 Subject: [PATCH] Remove the invalid H option with su --- entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ea1255a..9468cd0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,15 +39,15 @@ chown $UID.$GID /entrypoint.sh chown $UID.$GID /infinite-seaf-cli-start.sh # Safely initialize Seafile. -su - $UNAME -H -c /usr/bin/seaf-cli init -d /.seafile +su - $UNAME -c /usr/bin/seaf-cli init -d /.seafile while [ ! -f $seafile_ini ]; do sleep 1; done # Safely start the Seafile daemon. -su - $UNAME -H -c /usr/bin/seaf-cli start +su - $UNAME -c /usr/bin/seaf-cli start while [ ! -S $seafile_sock ]; do sleep 1; done # Start the synchronisation. -su - $UNAME -H -c /usr/bin/seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume +su - $UNAME -c /usr/bin/seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume # Start the supervisord. -su - $UNAME -H -c /usr/bin/supervisord -u $UNAME -c $supervisord_conf -j $supervisord_pid -l $supervisord_log \ No newline at end of file +su - $UNAME -c /usr/bin/supervisord -u $UNAME -c $supervisord_conf -j $supervisord_pid -l $supervisord_log \ No newline at end of file