spark-wallet: fix always-on onion-chef setting
Previously, the service failed when onion-service was disabled.
This commit is contained in:
parent
480d0d3959
commit
e0117d56d1
|
@ -89,7 +89,7 @@ in {
|
|||
User = "spark-wallet";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
ReadWritePaths = "/var/lib/onion-chef";
|
||||
ReadWritePaths = mkIf cfg.onion-service "/var/lib/onion-chef";
|
||||
} // (if cfg.enforceTor
|
||||
then nix-bitcoin-services.allowTor
|
||||
else nix-bitcoin-services.allowAnyIP)
|
||||
|
|
Loading…
Reference in New Issue
Block a user