tinc: allow the daemon to write to files in /etc/tinc/${network}/hosts
Follow up https://github.com/NixOS/nixpkgs/pull/27756: tinc daemon may also create new files in ```/etc/tinc/$network/hosts```
commit7e5332c86870336706f51faca50ea5a1b3e9bad5
authorvolth <volth@webmaster.ms>
dateWed 9 Aug 2017, 22:07 (9 years ago)
parente5f0c4f
nixos/modules/services/networking/tinc.nix+1
@@ -172,6 +172,7 @@ in
172172 };
173173 preStart = ''
174174 mkdir -p /etc/tinc/${network}/hosts
175+ chown tinc.${network} /etc/tinc/${network}/hosts
175176
176177 # Determine how we should generate our keys
177178 if type tinc >/dev/null 2>&1; then