From 58c306244c42792fe3c873642e0f737e04bc0dd9 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Fri, 18 Jun 2021 20:53:48 +0900 Subject: [PATCH] Overwrite symlink --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a2c39d2..136ec98 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -175,7 +175,7 @@ start() { tee "${KEYS_DIR}/provider-info.txt" find /var/svc -mindepth 1 -maxdepth 1 -type d | while read -r service; do - ln -s "$service" "${SERVICES_DIR}/" + ln -s -f "$service" "${SERVICES_DIR}/" done exec /etc/runit/2 /dev/null 2>/dev/null