Restart dhcp service from cli

Started by hasanijaz, June 04, 2020, 03:21:06 PM

Previous topic - Next topic
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!

https://docs.opnsense.org/development/backend/legacy.html

List services
pluginctl -s

I guess it's something like dhcp, maybe dhcpd
pluginctl -s dhcpd restart
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR