$NetBSD: patch-.env.template,v 1.3 2025/08/07 11:12:19 adam Exp $ Set for package defaults: Use sqlite, and the log directory we set up --- .env.template.orig 2025-07-29 10:13:02.000000000 +0000 +++ .env.template @@ -42,8 +42,8 @@ # RELOAD_TEMPLATES=false ## Web vault settings -# WEB_VAULT_FOLDER=web-vault/ -# WEB_VAULT_ENABLED=true +WEB_VAULT_FOLDER=@PREFIX@/@WEB_VAULT_DIR@/ +WEB_VAULT_ENABLED=true ######################### ### Database settings ### @@ -53,7 +53,7 @@ ## When using SQLite, this is the path to the DB file, and it defaults to ## %DATA_FOLDER%/db.sqlite3. If DATA_FOLDER is set to an external location, this ## must be set to a local sqlite3 file path. -# DATABASE_URL=data/db.sqlite3 +DATABASE_URL=data/db.sqlite3 ## When using MySQL, specify an appropriate connection URI. ## Details: https://docs.diesel.rs/2.1.x/diesel/mysql/struct.MysqlConnection.html # DATABASE_URL=mysql://user:password@host[:port]/database_name @@ -386,7 +386,7 @@ # USE_SYSLOG=false ## Logging to file -# LOG_FILE=/path/to/log +LOG_FILE=@VAULTWARDEN_LOGDIR@/vaultwarden.log ## Log level ## Change the verbosity of the log output