mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-06 15:36:40 +00:00
15 lines
363 B
Bash
15 lines
363 B
Bash
#!/bin/bash
|
|
|
|
set -eu # unset variables are errors & non-zero return values exit the whole script
|
|
|
|
mkdir -p /kopano/data/attachments /var/run/kopano
|
|
|
|
echo "Configure ical" | ts
|
|
/usr/bin/python3 /kopano/configure.py
|
|
|
|
echo "Set config ownership" | ts
|
|
chown -R kopano:kopano /kopano/data /run /tmp
|
|
|
|
echo "Clean old pid files and sockets" | ts
|
|
rm -f /var/run/kopano/*
|