Closed snorp closed 4 years ago
Unless I'm wrong, I believe avahi-daemon will just keep restarting repeatedly in the background because of the runit service.
I think it's trying to restart it constantly right now because of the daemonization. The log spam is from avahi-daemon
detecting that it's already running and bailing out.
runit
automatically restarts any services in /etc/service
, as this one is.
runit
automatically restarts any services in/etc/service
, as this one is.
Right. If you pass -D
to avahi-daemon
, it forks and the initial process exits. This means our run
script exits, and runit
thinks it needs to try to restart the service. In our case, avahi-daemon
is still running, and it detects this, generating the log spam.
@snorp I see now. I was thinking avahi was crashing.
Ah cool, I didn't think about that when I added it. Thank you.
Fixes #29