conditional prestart eula

This commit is contained in:
Gerg-L 2024-08-18 21:30:16 -04:00
parent 579c635521
commit 123156debf
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -83,7 +83,9 @@
UMask = "0077"; UMask = "0077";
}; };
preStart = '' preStart = ''
if [ ! -e "eula.txt" ]; then
echo "eula=true" > eula.txt echo "eula=true" > eula.txt
fi
''; '';
}; };
}; };