Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an rc.d script to run stubby as a daemon #93

Open
TELunus opened this issue Apr 6, 2018 · 6 comments
Open

Create an rc.d script to run stubby as a daemon #93

TELunus opened this issue Apr 6, 2018 · 6 comments

Comments

@TELunus
Copy link

TELunus commented Apr 6, 2018

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.

@saradickinson
Copy link
Contributor

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.

@TELunus
Copy link
Author

TELunus commented Apr 9, 2018

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.

@saradickinson
Copy link
Contributor

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?

@wtoorop
Copy link
Contributor

wtoorop commented Apr 10, 2018

Yes! I'll discuss with Jaap. I believe he also does the rc.d scripts for nsd, unbound and opendnssec.

@saradickinson
Copy link
Contributor

@wtoorop just checking... any progress on this?

@wtoorop
Copy link
Contributor

wtoorop commented May 11, 2018

No time sorry... this is in for the 0.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants