From 7e624893373b4fe2db5f3c8632f1f3674221916a Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 21 Aug 2021 15:20:15 +0200 Subject: [PATCH] podman: Add auto-installation --- podman-reown.sh | 1 - podman-run.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-reown.sh b/podman-reown.sh index 501f99a..ad6b6d2 100755 --- a/podman-reown.sh +++ b/podman-reown.sh @@ -8,4 +8,3 @@ DIR="${0%/*}" podman unshare -- chown -R 33 "$DIR" podman unshare -- chgrp -R 0 "$DIR" podman unshare -- chmod -R ug+rw "$DIR" - diff --git a/podman-run.sh b/podman-run.sh index 740fade..87a2d1f 100755 --- a/podman-run.sh +++ b/podman-run.sh @@ -9,4 +9,6 @@ podman run -d --name=nextcloud --replace=true -p 8080:80 -v "$DIR:/var/www/html/ podman exec nextcloud chown -R 33 /var/www/html/custom_apps "$DIR/podman-reown.sh" podman exec --user 33 nextcloud bash -c 'cd /var/www/html/custom_apps/upschooling && make' +podman exec --user 33 nextcloud php occ maintenance:install --database sqlite --admin-user admin --admin-pass admin podman exec --user 33 nextcloud php occ config:system:set --value=true --type=boolean debug +podman exec --user 33 nextcloud php occ app:enable --force upschooling