getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.2k stars 99 forks source link

Allow PID file to be disabled at compile-time #349

Open chrisnovakovic opened 1 year ago

chrisnovakovic commented 1 year ago

Stubby unconditionally attempts to write a PID file under the run state directory when it starts, but this directory is not always writeable by non-root or non-system account users (e.g. on Slackware). To aid with running Stubby in environments where the PID file would otherwise be unwriteable or unnecessary, allow it to be disabled at compile-time with the ENABLE_PID_FILE option (which remains on by default).