milestone 21: abp list exceptions and a regex rule kind
This commit is contained in:
+6
-3
@@ -61,9 +61,12 @@ chown root:nxdns /etc/nxdns/config.zon
|
||||
chmod 0640 /etc/nxdns/config.zon
|
||||
```
|
||||
|
||||
0640 with group `nxdns` rather than 0600: the service runs as `nxdns` and has to
|
||||
read this file on the first start, and systemd leaves `/etc/nxdns` owned by
|
||||
root.
|
||||
0640 with group `nxdns` rather than 0600: the service runs as `nxdns`, and
|
||||
systemd leaves `/etc/nxdns` owned by root. Keep that group read bit for good.
|
||||
Under `run --config` the service reads this file on **every** start, not once,
|
||||
so tightening the mode after the first boot breaks the next restart. Under
|
||||
database authority it is `nxdns import` that reads the file, as whoever runs
|
||||
that command, and a bare `nxdns run` never reads it at all.
|
||||
|
||||
Check it before starting the service:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user