jails how to update/reload to system configuration from a jail?

I setup a freebsd server acting as a router on the stick and would like to separate the configuraion from the rest of the system. This will also end in having a web/rest API . Something similar to j-web on juniper. I am thinking to the following design :

* bird run on host
* a api daemon is also running on the host listening on a unix socket
* the web interface is started in a separate jails

Ideally the web interface is tarted as jail . and would discuss withe api daemon over the websocket. Would it be possible to do it by sharing a file system using nullfs? Or is there any alternative?


Any feedback is welcome :)
 
Back
Top