OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: hasanijaz on June 04, 2020, 03:21:06 pm

Title: Restart dhcp service from cli
Post by: hasanijaz on June 04, 2020, 03:21:06 pm
Hi, I have enabled and created the dhcp service from WebGUI. But I cannot find a way to restart dhcp service from the cli. I can't find any API for doing that too.

Please help!
Title: Re: Restart dhcp service from cli
Post by: hbc on June 06, 2020, 11:21:38 pm
https://docs.opnsense.org/development/backend/legacy.html

List services
Code: [Select]
pluginctl -s
I guess it's something like dhcp, maybe dhcpd
Code: [Select]
pluginctl -s dhcpd restart