Skip to content
Snippets Groups Projects
Commit 9389b3ea authored by Gilles Filippini's avatar Gilles Filippini
Browse files

[fix] docker: entrypoint drop '--home' option

The script '/usr/bin/duniter' sets this option as well and the duniter
executable won't accept more than one.
parent 6a97dc85
Branches
Tags
1 merge request!1380Docker entrypoint - fixes and error handling
...@@ -60,7 +60,7 @@ if [ "$auto_sync" = true ]; then ...@@ -60,7 +60,7 @@ if [ "$auto_sync" = true ]; then
echo "DUNITER_SYNC_HOST undefined. Can't start synchronization!" echo "DUNITER_SYNC_HOST undefined. Can't start synchronization!"
else else
echo "Starting synchronization..." echo "Starting synchronization..."
/usr/bin/duniter --home "$home" sync "$DUNITER_SYNC_HOST" /usr/bin/duniter sync "$DUNITER_SYNC_HOST"
fi fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment