lifecycle: fix permission error with local docker

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-22 20:47:05 +02:00
parent 2d5c45543b
commit c1c55a6005
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function check_if_root {
fi
# Fix permissions of backups and media
chown -R authentik:authentik /media /backups
chpst -u authentik env HOME=/authentik $1
chpst -u authentik:authentik:docker env HOME=/authentik $1
}
if [[ "$1" == "server" ]]; then