From ede2ded3137c496fe7a66e770b0fbbc320e48579 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Wed, 22 Feb 2023 18:59:44 +0100 Subject: [PATCH] Make joplin chown recursive --- .../notes/templates/systemd/container-notes-chown.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/services/deploy/notes/templates/systemd/container-notes-chown.service.j2 b/playbooks/roles/services/deploy/notes/templates/systemd/container-notes-chown.service.j2 index 9cfc0fb..3cbbee4 100644 --- a/playbooks/roles/services/deploy/notes/templates/systemd/container-notes-chown.service.j2 +++ b/playbooks/roles/services/deploy/notes/templates/systemd/container-notes-chown.service.j2 @@ -20,7 +20,7 @@ ExecStart=/usr/bin/podman run \ --entrypoint="/bin/bash" \ --name=pod-notes-chown \ docker.io/joplin/server:{{ services_deploy_versions.notes.joplin }} \ - -c "chown joplin:joplin /data" + -c "chown -R joplin:joplin /data" ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/container-notes-chown.ctr-id Type=oneshot