Merge pull request #199147 from erikarvstedt/fix-bitcoind-startup

nixos/bitcoind: fix rare startup error
This commit is contained in:
Pavol Rusnak 2022-11-02 13:55:46 +01:00 committed by GitHub
commit 6d973d7389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ in
'';
in {
description = "Bitcoin daemon";
after = [ "network.target" ];
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = cfg.user;