From f0ef160b35af3a27cf04311f61c9e8eb7d1be2d5 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 28 Nov 2018 15:27:47 +0100 Subject: [PATCH] add alembic script on startup --- rootfs/etc/cont-init.d/02-alembic | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 rootfs/etc/cont-init.d/02-alembic diff --git a/rootfs/etc/cont-init.d/02-alembic b/rootfs/etc/cont-init.d/02-alembic new file mode 100644 index 0000000..5e021eb --- /dev/null +++ b/rootfs/etc/cont-init.d/02-alembic @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv sh + +s6-setuidgid matrix-bridge alembic -x config=/var/lib/matrix-bridge/config.yaml upgrade head