nixos/dhcp: fix permissions of statedir
nixos/dhcp: fix permissions of statedir
This commit is contained in:
parent
9b30d48b2b
commit
7be79f22f2
@ -36,6 +36,7 @@ let
|
||||
|
||||
preStart = ''
|
||||
mkdir -m 755 -p ${cfg.stateDir}
|
||||
chown dhcpd:nogroup ${cfg.stateDir}
|
||||
touch ${cfg.stateDir}/dhcpd.leases
|
||||
'';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user