When `privateRepos = true`, the service will not start if the `.htpasswd` does not exist. Use `systemd-tmpfiles` to autocreate an (empty) file to ensure the service can boot before actual `htpasswd` contents are registered. This is safe as restic-rest-server will deny all entry if the file is empty.
3.0 KiB
3.0 KiB