forked from finn/tinyboard
setup-spoke.sh: fix syncthing-config volume ownership before starting containers
This commit is contained in:
@@ -375,6 +375,11 @@ docker build \
|
||||
--build-arg GID="$(id -g "$SPOKE_USER")" \
|
||||
-t spoke-autossh .
|
||||
|
||||
header "Fixing Syncthing Volume Permissions"
|
||||
info "Setting correct ownership on syncthing-config volume..."
|
||||
docker run --rm -v syncthing-config:/var/syncthing/config alpine chown -R "${SPOKE_UID}:${SPOKE_GID}" /var/syncthing/config
|
||||
info "Syncthing volume permissions set."
|
||||
|
||||
header "Starting Containers"
|
||||
TUNNEL_UP="false"
|
||||
for ATTEMPT in 1 2 3; do
|
||||
|
||||
Reference in New Issue
Block a user