aboutsummaryrefslogtreecommitdiff
path: root/docker/nextcloud/entrypoint.sh
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 23:15:50 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-07-05 23:15:50 +0200
commit378953256025cc185fd5fe49b9700adfa17f0702 (patch)
tree6cfde96c75856003174b7cdddc31afa4d95320aa /docker/nextcloud/entrypoint.sh
parent775bab3735c6d8ff650dbc8a96dbc0bb76586103 (diff)
parentc344dacb65e967bef7a06e34adb02494d98cde77 (diff)
downloadinfrastructure-378953256025cc185fd5fe49b9700adfa17f0702.tar.gz
infrastructure-378953256025cc185fd5fe49b9700adfa17f0702.zip
Merge branch 'master' of git.deuxfleurs.fr:Deuxfleurs/deuxfleurs.fr
Diffstat (limited to 'docker/nextcloud/entrypoint.sh')
-rwxr-xr-xdocker/nextcloud/entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/nextcloud/entrypoint.sh b/docker/nextcloud/entrypoint.sh
new file mode 100755
index 0000000..72b4f94
--- /dev/null
+++ b/docker/nextcloud/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -xe
+
+chown www-data:www-data /var/www/html/config/config.php
+touch /var/www/html/data/.ocdata
+
+exec apachectl -DFOREGROUND