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