nixos/open-webui: remove preStart step

nixos/open-webui: remove `preStart` step
This commit is contained in:
Pol Dellaiera 2024-06-04 21:35:55 +02:00
parent 61ab4de94c
commit a8670536e5
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

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 = {