1
0
forked from finallycoffee/base

feat(restic): Use RESTIC_PASSWORD_FILE instead of RESTIC_PASSWORD

This commit is contained in:
2026-02-03 11:46:57 +01:00
parent 153df81836
commit cfc09bb48f
3 changed files with 31 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ WorkingDirectory={{ restic_systemd_working_directory }}
SyslogIdentifier={{ restic_systemd_syslog_identifier }}
Environment=RESTIC_REPOSITORY={{ restic_repo_url }}
Environment=RESTIC_PASSWORD={{ restic_repo_password }}
Environment=RESTIC_PASSWORD_FILE={{ restic_password_file_path }}
{% for kv in restic_complete_environment | dict2items %}
Environment={{ kv.key }}={{ kv.value }}
{% endfor %}