I think I'm doing a few thing wrong.
What I do works but is very ugly.
In rc.local I have :
The zfs mount is needed otherwise the files in /usr/local are not visible.
For a strange reason the linker is unable to find /usr/local/lib so i need to inform it explicitly.
Unbound is dynamically linked so I need to start it manually.
Is there a more "beautifull" way, e.g. placing zfs,zpool stuff in rc.conf
What I do works but is very ugly.
In rc.local I have :
Code:
zfs mount -a
ldconfig -v -m -R /usr/local/lib
service unbound onestop
service unbound onestart
The zfs mount is needed otherwise the files in /usr/local are not visible.
For a strange reason the linker is unable to find /usr/local/lib so i need to inform it explicitly.
Unbound is dynamically linked so I need to start it manually.
Is there a more "beautifull" way, e.g. placing zfs,zpool stuff in rc.conf