mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
nixos/unifi: Remove old ROOT.war links before relinking
This commit is contained in:
parent
a3af559455
commit
826f5468ab
@ -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…
Reference in New Issue
Block a user