retiolum: chmod tinc host
This commit is contained in:
parent
c72f78b542
commit
9aa7a4a2d8
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user