Release openresolv-3.4.1
[openresolv] / unbound.in
index 6d8547a8877de229ad622f1e5d9e5d893c987a52..b5fb7ecf53401c617060fb7776f0d4602aef6e31 100644 (file)
@@ -32,7 +32,8 @@
 [ -z "$RESOLVCONF" ] && eval "$(@PREFIX@/sbin/resolvconf -v)"
 
 : ${unbound_pid:=/var/run/unbound.pid}
-: ${unbound_restart:=@RESTARTCMD unbound@}
+: ${unbound_service:=unbound}
+: ${unbound_restart:=@RESTARTCMD ${unbound_service}@}
 newconf="# Generated by resolvconf\n"
 
 for d in $DOMAINS; do