lifecycle: fix permission error with local docker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2d5c45543b
commit
c1c55a6005
|
@ -18,7 +18,7 @@ function check_if_root {
|
||||||
fi
|
fi
|
||||||
# Fix permissions of backups and media
|
# Fix permissions of backups and media
|
||||||
chown -R authentik:authentik /media /backups
|
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
|
if [[ "$1" == "server" ]]; then
|
||||||
|
|
Reference in a new issue