add o+x permission on service-state directories

this is needed for resolvconf, which writes resolv.conf as
an output and wants to make it world-readable
This commit is contained in:
Daniel Barlow 2023-08-28 20:53:45 +01:00
parent ff2d3e1a63
commit aecbe08f08
4 changed files with 4 additions and 3 deletions

View file

@ -128,6 +128,7 @@ in rec {
( in_outputs ${name}
echo "nameserver $(output ${services.wan} ns1)" > resolv.conf
echo "nameserver $(output ${services.wan} ns2)" >> resolv.conf
chmod 0444 resolv.conf
)
'';
down = ''