From 5c80920bab72df5f83f7bf2a22313edefeb1ba95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rodriguez?= Date: Sat, 26 Jun 2021 01:32:06 +0200 Subject: [PATCH] Updated Setup as a systemd service (markdown) --- Setup-as-a-systemd-service.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Setup-as-a-systemd-service.md b/Setup-as-a-systemd-service.md index 3b2734c..c5ce166 100644 --- a/Setup-as-a-systemd-service.md +++ b/Setup-as-a-systemd-service.md @@ -145,6 +145,16 @@ This is known to occur when vaultwarden is running inside a container (LXC, et a ``` then reloading the daemon & restarting. +### environment variable it's not loaded + +Please not systemd does not support comment in same line as a variable in `EnvironmentFile` file. In this `.env` file example the variable" WEBSOCKET_ENABLED "will not be loaded. +``` +ROCKET_PORT=XXXX +WEBSOCKET_ENABLED=true # enable websocket +``` + +Source: [#1607](/dani-garcia/vaultwarden/issues/1607) + ## More information For more information on .service files, see the manpages of [systemd.service](https://www.freedesktop.org/software/systemd/man/systemd.service.html) and (for the security configuration) [systemd.exec](https://www.freedesktop.org/software/systemd/man/systemd.exec.html) \ No newline at end of file