mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
remove chown step in service startup (#219)
change is not neccesary and is blocking startup on kubernetes Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
88409f5f37
commit
b8885da14e
@ -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
|
echo "Configure core service '$SERVICE_TO_START'" | ts
|
||||||
/usr/bin/python3 /kopano/"$SERVICE_TO_START".py
|
/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
|
# ensure removed pid-file on unclean shutdowns and mounted volumes
|
||||||
rm -f /var/run/kopano/"$SERVICE_TO_START".pid
|
rm -f /var/run/kopano/"$SERVICE_TO_START".pid
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user