mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/unifi: Fix ordering of mount rules
This commit is contained in:
parent
ede3e60a3c
commit
12ad29226c
@ -29,22 +29,25 @@ in
|
||||
|
||||
systemd.mounts = [
|
||||
{
|
||||
unitConfig.StopWhenUnneeded = true;
|
||||
bindsTo = [ "unifi.service" ];
|
||||
requiredBy = [ "unifi.service" ];
|
||||
before = [ "unifi.service" ];
|
||||
what = "${pkgs.unifi}/dl";
|
||||
where = "${stateDir}/dl";
|
||||
options = "bind";
|
||||
}
|
||||
{
|
||||
unitConfig.StopWhenUnneeded = true;
|
||||
bindsTo = [ "unifi.service" ];
|
||||
requiredBy = [ "unifi.service" ];
|
||||
before = [ "unifi.service" ];
|
||||
what = "${pkgs.unifi}/lib";
|
||||
where = "${stateDir}/lib";
|
||||
options = "bind";
|
||||
}
|
||||
{
|
||||
unitConfig.StopWhenUnneeded = true;
|
||||
bindsTo = [ "unifi.service" ];
|
||||
requiredBy = [ "unifi.service" ];
|
||||
before = [ "unifi.service" ];
|
||||
what = "${pkgs.mongodb}/bin";
|
||||
where = "${stateDir}/bin";
|
||||
options = "bind";
|
||||
|
Loading…
Reference in New Issue
Block a user