Fix permissions to work with current deployment

This commit is contained in:
Inex Code 2022-01-13 10:50:35 +03:00
parent 8878832ff9
commit d065ea8738

View file

@ -22,10 +22,10 @@ in
''; '';
in in
[ [
(if cfg.bitwarden.enable then "d /var/lib/bitwarden 0777 vaultwarden vaultwarden -" else "") (if cfg.bitwarden.enable then "d /var/lib/bitwarden 0777 bitwarden_rs bitwarden_rs -" else "")
(if cfg.bitwarden.enable then "d /var/lib/bitwarden/backup 0777 vaultwarden vaultwarden -" else "") (if cfg.bitwarden.enable then "d /var/lib/bitwarden/backup 0777 bitwarden_rs bitwarden_rs -" else "")
(if cfg.pleroma.enable then "d /var/lib/pleroma 0700 pleroma pleroma - -" else "") (if cfg.pleroma.enable then "d /var/lib/pleroma 0700 pleroma pleroma - -" else "")
"d /var 0760 root shared - -" "d /var 0755 root shared - -"
"d /var/lib/restic 0700 restic - - -" "d /var/lib/restic 0700 restic - - -"
"f+ /var/lib/restic/pass 0400 restic - - ${resticPass}" "f+ /var/lib/restic/pass 0400 restic - - ${resticPass}"
"f+ /root/.config/rclone/rclone.conf 0400 root root - ${rcloneConfig}" "f+ /root/.config/rclone/rclone.conf 0400 root root - ${rcloneConfig}"