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