mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #4315] [MERGED] Fix env templateto ensure compatibility with systemd's EnvironmentFile parsing #2844
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4315
Author: @seiuneko
Created: 2/3/2024
Status: ✅ Merged
Merged: 2/19/2024
Merged by: @dani-garcia
Base:
main← Head:systemd-envfile-comment-fix📝 Commits (2)
7076422fix: update env template for systemd compatibility2aec172Refactor SMTP and Rocket settings in .env.template📊 Changes
1 file changed (+11 additions, -3 deletions)
View changed files
📝
.env.template(+11 -3)📄 Description
This commit addresses an issue in the Vaultwarden project's
.env.templatefile where comments explaining environment variable options were incorrectly placed on the same line as the variable definitions. Systemd'sEnvironmentFiledirective only recognizes comment symbols (#) at the beginning of a line. Therefore, explanatory comments placed on the same line as environment variable definitions can lead to misinterpretations or errors when the file is used in a systemd service file.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.