From d1ad7378de28337160bf3af956bc6465e100cbf9 Mon Sep 17 00:00:00 2001 From: Raine Date: Thu, 14 Dec 2023 22:14:11 +0100 Subject: [PATCH] fix: pgadmin permissions :P --- servers/apoc/setup.d/10-setup-pgadmin.sh | 4 ++++ servers/apoc/setup.d/80-wekan.sh | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100755 servers/apoc/setup.d/10-setup-pgadmin.sh delete mode 100755 servers/apoc/setup.d/80-wekan.sh diff --git a/servers/apoc/setup.d/10-setup-pgadmin.sh b/servers/apoc/setup.d/10-setup-pgadmin.sh new file mode 100755 index 0000000..66b978d --- /dev/null +++ b/servers/apoc/setup.d/10-setup-pgadmin.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -d /srv/pgadmin/data ] || mkdir -p /srv/pgadmin/data +chown -R 5050:5050 /srv/pgadmin/data \ No newline at end of file diff --git a/servers/apoc/setup.d/80-wekan.sh b/servers/apoc/setup.d/80-wekan.sh deleted file mode 100755 index 568df2f..0000000 --- a/servers/apoc/setup.d/80-wekan.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -mkdir -p /srv/wekan/data \ No newline at end of file