stubby
stubby copied to clipboard
Create an rc.d script to run stubby as a daemon
The documentation says to run stubby as sudo stubby
, however this is an inconvenient way to run a system process that should always be left running, and that should come up with the system. I see that support is being or has been added to run it using systemd. As a user of FreeBSD I would also like to see a script for use with the rc system.
We have basic support for using systemd - see the systemd folder https://github.com/getdnsapi/stubby/tree/develop/systemd but we also have a couple of open issues on this #62 and #38 we need to look at. I've updated the README to include the reference above.
I'm glad you did that, it's helpful for systemd users. However my real concern is that us FreeBSD users still don't have a good way of running it as a system daemon. Now taking a closer look I'm realising you don't list support for FreeBSD. FreeBSD on the other hand does provide a working stubby install through its ports collection (it's a configuration option under the getdns port). So I think it would be useful to those of us who have installed stubby that way to have a script for the rc system available. Otherwise we'll just each wind up writing our own, and that would be a lot of wasted effort.
I do agree - I was just highlighting our current lack of support in this general area :-) @wtoorop do you have anything we could use here?
Yes! I'll discuss with Jaap. I believe he also does the rc.d scripts for nsd, unbound and opendnssec.
@wtoorop just checking... any progress on this?
No time sorry... this is in for the 0.2.4