mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/unifi: Remove old ROOT.war links before relinking
This commit is contained in:
parent
a3af559455
commit
826f5468ab
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ in
|
|||
# Create the volatile webapps
|
||||
mkdir -p "${stateDir}/webapps"
|
||||
chown unifi "${stateDir}/webapps"
|
||||
rm -f "{stateDir}/webapps/ROOT.war"
|
||||
ln -s "${pkgs.unifi}/webapps/ROOT.war" "${stateDir}/webapps/ROOT.war"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue