summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 20:21:50 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 20:21:50 +0200
commit0ef026f32945ca6408026617696b9a96dd000295 (patch)
treee93e7f0e6a7a57eb7b2026929a5e48cae83c286e
parent77d725f11c049a6b4a761c25be2eeb34145201dc (diff)
downloadvyos-1x-0ef026f32945ca6408026617696b9a96dd000295.tar.gz
vyos-1x-0ef026f32945ca6408026617696b9a96dd000295.zip
op-mode: dns-forwarding: T2185: migrate from SysVinit to systemd
-rwxr-xr-xsrc/op_mode/dns_forwarding_restart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/dns_forwarding_restart.sh b/src/op_mode/dns_forwarding_restart.sh
index 8e556f2f0..64cc92115 100755
--- a/src/op_mode/dns_forwarding_restart.sh
+++ b/src/op_mode/dns_forwarding_restart.sh
@@ -2,7 +2,7 @@
if cli-shell-api existsEffective service dns forwarding; then
echo "Restarting the DNS forwarding service"
- systemctl restart pdns-recursor
+ systemctl restart pdns-recursor.service
else
echo "DNS forwarding is not configured"
fi