git » debian:dnss » commit 06d2149

Support arbitrary arguments in /etc/default/dnss

author Alberto Bertogli
2021-03-10 10:23:02 UTC
committer Alberto Bertogli
2021-03-10 10:23:02 UTC
parent 3e1d3f8755ddf7765b43e64e28337b6392743a0f

Support arbitrary arguments in /etc/default/dnss

/lib/systemd/system/dnss.service uses curly braces with the variables
from /etc/default/dnss, which means they can only take one argument.

This was reported in https://bugs.debian.org/972527.

This patch fixes the problem by removing the curly braces, as suggested
in the bug.

debian/systemd/dnss.service +2 -2

diff --git a/debian/systemd/dnss.service b/debian/systemd/dnss.service
index 9709d32..c633e4c 100644
--- a/debian/systemd/dnss.service
+++ b/debian/systemd/dnss.service
@@ -7,8 +7,8 @@ Requires=dnss.socket
 EnvironmentFile=-/etc/default/dnss
 ExecStart=/usr/bin/dnss \
         --dns_listen_addr=systemd \
-	${MONITORING_FLAG} \
-	${MODE_FLAGS}
+	$MONITORING_FLAG \
+	$MODE_FLAGS
 
 Type=simple
 Restart=always