nixos/open-webui: remove preStart step

nixos/open-webui: remove `preStart` step
This commit is contained in:
Pol Dellaiera
2024-06-05 08:05:18 +02:00
parent 61ab4de94c
commit a8670536e5
+2 -6
View File
@@ -67,13 +67,9 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
preStart = ''
mkdir -p ${cfg.stateDir}/static
'';
environment = {
STATIC_DIR = "${cfg.stateDir}/static";
DATA_DIR = "${cfg.stateDir}";
STATIC_DIR = ".";
DATA_DIR = ".";
} // cfg.environment;
serviceConfig = {