diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-16 07:02:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 07:02:07 +0200 |
commit | 1e81eec1b916c299b550e878e63368eae78f8047 (patch) | |
tree | 6285f7d95fc1a4c662b20bee0d503350e7cd8390 /src/op_mode | |
parent | e41685a2f56cca0a53b4f8c084f61a85cf561c80 (diff) | |
parent | 160262edaf1b6b6405baa5c65f69573225cbe208 (diff) | |
download | vyos-1x-1e81eec1b916c299b550e878e63368eae78f8047.tar.gz vyos-1x-1e81eec1b916c299b550e878e63368eae78f8047.zip |
Merge pull request #1471 from mkorobeinikov/current
dhcp-relay: T4601: restart dhcp relay-agent
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/restart_dhcp_relay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/restart_dhcp_relay.py b/src/op_mode/restart_dhcp_relay.py index db5a48970..9203c009f 100755 --- a/src/op_mode/restart_dhcp_relay.py +++ b/src/op_mode/restart_dhcp_relay.py @@ -43,7 +43,7 @@ if __name__ == '__main__': if commit_in_progress(): print('Cannot restart DHCP relay while a commit is in progress') exit(1) - call('systemctl restart isc-dhcp-server.service') + call('systemctl restart isc-dhcp-relay.service') sys.exit(0) elif args.ipv6: @@ -54,7 +54,7 @@ if __name__ == '__main__': if commit_in_progress(): print('Cannot restart DHCPv6 relay while commit is in progress') exit(1) - call('systemctl restart isc-dhcp-server6.service') + call('systemctl restart isc-dhcp-relay6.service') sys.exit(0) else: |