mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/open-webui: remove preStart
step
nixos/open-webui: remove `preStart` step
This commit is contained in:
parent
61ab4de94c
commit
a8670536e5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user