mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-26 08:10:41 +03:00
btcpayserver: add missing systemd postgresql dependency
btcpayserver fails if it starts before postgresql.
This commit is contained in:
parent
9cd52e04b5
commit
d1c0ea9f85
@ -168,7 +168,7 @@ in {
|
||||
"certthumbprint=";
|
||||
in let self = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "nbxplorer.service" ]
|
||||
requires = [ "nbxplorer.service" "postgresql.service" ]
|
||||
++ optional (cfg.btcpayserver.lightningBackend != null) "${cfg.btcpayserver.lightningBackend}.service";
|
||||
after = self.requires;
|
||||
preStart = ''
|
||||
|
Loading…
Reference in New Issue
Block a user