From 6195698f903bf4ea6868189dceb5a872b0bfec3f Mon Sep 17 00:00:00 2001 From: muibusan Date: Sun, 11 Aug 2019 20:19:24 +0200 Subject: [PATCH] Added hint for not forgetting the --env option --- Running-with-systemd-docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running-with-systemd-docker.md b/Running-with-systemd-docker.md index dc07491..a237b4f 100644 --- a/Running-with-systemd-docker.md +++ b/Running-with-systemd-docker.md @@ -51,7 +51,7 @@ It's possible to directly specify environment variables in the unit file in two To verify that your environment variables are set correctly, check the output of `systemctl show bitwarden.service` for an `Environment` line. -It's also possible to store environment variables in a separate file using the `EnvironmentFile` directive in the unit file. +It's also possible to store environment variables in a separate file using the `EnvironmentFile` directive in the unit file. In this case remember to set the `--env` option in the docker commandline as shown above, otherwise the environment file will not be processed. Systemd can source a file of the form: