mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-08 16:36:19 +00:00
fix startup of coreimage containers after unclean shutdown
This commit is contained in:
parent
037900a9a6
commit
87bc7765ef
@ -8,6 +8,9 @@ if [ ! -e /kopano/$SERVICE_TO_START.py ]
|
|||||||
then
|
then
|
||||||
echo "Invalid service specified: $SERVICE_TO_START" | ts
|
echo "Invalid service specified: $SERVICE_TO_START" | ts
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
#ensure removed pid-file on unclean shutdowns and mounted volumes
|
||||||
|
rm -f /var/run/kopano/$SERVICE_TO_START.pid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ ! -z "$ADDITIONAL_KOPANO_PACKAGES" ] && apt update
|
[ ! -z "$ADDITIONAL_KOPANO_PACKAGES" ] && apt update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user