retiolum: chmod tinc host

This commit is contained in:
Jörg Thalheim 2020-08-19 20:11:55 +01:00
parent c72f78b542
commit 9aa7a4a2d8
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ in {
systemd.services."tinc.${netname}".preStart = ''
rm -rf /etc/tinc/${netname}/hosts
cp -R ${../../hosts} /etc/tinc/${netname}/hosts
chown -R tinc.${netname} /etc/tinc/${netname}/hosts
chmod -R u+w /etc/tinc/${netname}/hosts
'';
networking.firewall.allowedTCPPorts = [ 655 ];