support new tinc user
This commit is contained in:
parent
00afd8bdb8
commit
00af6f8e74
@ -71,6 +71,8 @@ in {
|
||||
install-keys = pkgs.writeShellScript "install-keys" ''
|
||||
rm -rf /etc/tinc/${netname}/hosts
|
||||
cp -R ${hosts} /etc/tinc/${netname}/hosts
|
||||
# FIXME: drop this once everyone has the new tinc user
|
||||
chown -R tinc-${netname} /etc/tinc/${netname}/hosts ||
|
||||
chown -R tinc.${netname} /etc/tinc/${netname}/hosts
|
||||
chmod -R u+w /etc/tinc/${netname}/hosts
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user