gentoo-ebuilds/app-admin/vaultwarden/files/vaultwarden-tmpfiles-1.33.2.conf
Rahil Bhimjiani ca1b0dc5d7
app-admin/vaultwarden: Unofficial Bitwarden compatible server in Rust
Explaination of some design decisions:
* Icon cache folder & tmp folder paths have been changed from default
  /var/cache/... & /tmp/... respectively so that backing up
  /var/lib/vaultwarden backs up everything needed minus extra
  fluff. Also having them at linux standard locations allow users to
  take advantage of tmpfs on /tmp and other fine tunings.
* USE +web pulls in dependency www-apps/vaultwarden-web instead of just
  downloading tarball conditionally because sometimes only web frontend gets
  updated but not backend. So it doesn't make sense to recompile
  backend (rust package which takes ~20 minutes to compile) just to
  update frontend (*js, *css, *html files)

Thanks Fabian Groffen <grobian@gentoo.org> for taking interest &
good suggestions

Closes: https://github.com/gentoo/gentoo/pull/41864
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-06-01 10:56:57 +02:00

5 lines
238 B
Text

# Fields: type; path; mode; uid; gid; age; argument
# tmpfiled.d(5)
d /var/cache/vaultwarden 0750 vaultwarden vaultwarden
d /tmp/vaultwarden 0750 vaultwarden vaultwarden 1d
f /var/log/vaultwarden.log 0640 vaultwarden vaultwarden