0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-15 14:33:09 +01:00

Updated Setup as a systemd service (markdown)

Sébastien Rodriguez 2021-06-26 01:32:06 +02:00
parent cd9239862a
commit 5c80920bab

@ -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)