diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-13 20:21:50 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-13 20:21:50 +0200 |
commit | 0ef026f32945ca6408026617696b9a96dd000295 (patch) | |
tree | e93e7f0e6a7a57eb7b2026929a5e48cae83c286e /src/op_mode | |
parent | 77d725f11c049a6b4a761c25be2eeb34145201dc (diff) | |
download | vyos-1x-0ef026f32945ca6408026617696b9a96dd000295.tar.gz vyos-1x-0ef026f32945ca6408026617696b9a96dd000295.zip |
op-mode: dns-forwarding: T2185: migrate from SysVinit to systemd
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/dns_forwarding_restart.sh | 2 |
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 |