From b8885da14e7d20a2206b3faffedf8fa0124b0cb8 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Thu, 22 Aug 2019 08:34:08 +0200 Subject: [PATCH] remove chown step in service startup (#219) change is not neccesary and is blocking startup on kubernetes Signed-off-by: Felix Bartels --- core/start-service.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/start-service.sh b/core/start-service.sh index eebfe9b..7667c8e 100755 --- a/core/start-service.sh +++ b/core/start-service.sh @@ -23,10 +23,6 @@ mkdir -p /kopano/data/attachments /kopano/data/kapi-kvs /tmp/"$SERVICE_TO_START" echo "Configure core service '$SERVICE_TO_START'" | ts /usr/bin/python3 /kopano/"$SERVICE_TO_START".py -echo "Set ownership" | ts -chown -R kopano:kopano /run /tmp -chown kopano:kopano /kopano/data/ /kopano/data/attachments - # ensure removed pid-file on unclean shutdowns and mounted volumes rm -f /var/run/kopano/"$SERVICE_TO_START".pid