Re: dns cache for localdomain via djbdns
On Wed, Aug 12, 2020 at 03:51:11PM +0200, Patrick Frank wrote:
> Greg writes: You can execute the "./run" script by hand for testing
> purposes [...]
>
> When I tried "exec envuidgid Gnscache ..." it logged me out.
So don't do that. Test it with ./run instead, like I said.
> Greg writes: unicorn:~$ ls -l /etc/dnscache/
>
> This directory is missing the "supervise" directory.
Because you haven't started the service yet. That will be created
once daemontools runs it for the first time.
> Dan writes: svc -d /service/dnscache
>
> It outputs: unable to control /service/dnscache: file does not exist
Because you haven't started the service yet.
You need to create the symlink to start the service.
Reply to: