1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Merge pull request #68 from cguentherTUChemnitz/pid_removal_on_startup

fix startup of core-image containers after unclean shutdown
This commit is contained in:
Felix Bartels
2019-01-03 12:51:00 +01:00
committed by GitHub
+3
View File
@@ -8,6 +8,9 @@ if [ ! -e /kopano/$SERVICE_TO_START.py ]
then
echo "Invalid service specified: $SERVICE_TO_START" | ts
exit 1
else
#ensure removed pid-file on unclean shutdowns and mounted volumes
rm -f /var/run/kopano/$SERVICE_TO_START.pid
fi
[ ! -z "$ADDITIONAL_KOPANO_PACKAGES" ] && apt update