commit a5ee61cd5ce4500f832ba95a268b26a5f330002a
parent cf581b47c796ae1488f9f72599a52d3a6b978bf6
Author: Florian Dold <florian@dold.me>
Date: Tue, 21 Jan 2025 19:58:30 +0100
debian: environment file is optional
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/taler-exchange.taler-exchange-httpd.service b/debian/taler-exchange.taler-exchange-httpd.service
@@ -9,7 +9,7 @@ PartOf=taler-exchange.target
User=taler-exchange-httpd
Type=simple
-EnvironmentFile=/etc/taler-exchange/taler-exchange.env
+EnvironmentFile=-/etc/taler-exchange/taler-exchange.env
# Depending on the configuration, the service process kills itself and then
# needs to be restarted. Thus no significant delay on restarts.
diff --git a/debian/taler-exchange.taler-exchange-httpd@.service b/debian/taler-exchange.taler-exchange-httpd@.service
@@ -20,7 +20,6 @@ Restart=always
# Do not dally on restarts.
RestartSec=1ms
RestartPreventExitStatus=9
-EnvironmentFile=/etc/environment
ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler-exchange/taler-exchange.conf -L INFO
StandardOutput=journal
StandardError=journal