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=";
|
"certthumbprint=";
|
||||||
in let self = {
|
in let self = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "nbxplorer.service" ]
|
requires = [ "nbxplorer.service" "postgresql.service" ]
|
||||||
++ optional (cfg.btcpayserver.lightningBackend != null) "${cfg.btcpayserver.lightningBackend}.service";
|
++ optional (cfg.btcpayserver.lightningBackend != null) "${cfg.btcpayserver.lightningBackend}.service";
|
||||||
after = self.requires;
|
after = self.requires;
|
||||||
preStart = ''
|
preStart = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user