lifecycle: fix permission error with local docker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -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 New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer