mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 02:12:45 +03:00
electrs: use cfg.user, cfg.group
This commit is contained in:
parent
48be5a79fa
commit
0be67c325e
@ -78,7 +78,8 @@ in {
|
||||
--db-dir '${cfg.dataDir}' --daemon-dir '${config.services.bitcoind.dataDir}' \
|
||||
--electrum-rpc-addr=127.0.0.1:${toString cfg.port}
|
||||
'';
|
||||
User = "electrs";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
} // nix-bitcoin-services.defaultHardening
|
||||
|
Loading…
Reference in New Issue
Block a user