mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-26 08:10:41 +03:00
joinmarket-yieldgenerator: improve systemd journal output
Journal entries now look like `joinmarket-yieldgenerator[9795]: User data location: /var/lib/joinmarket` instead of `bash[9795]: User data location: /var/lib/joinmarket`
This commit is contained in:
parent
9d0b8c8f6f
commit
18f2002cf0
@ -244,6 +244,10 @@ in {
|
||||
RuntimeDirectoryMode = "700";
|
||||
WorkingDirectory = cfg.dataDir; # The service creates dir 'logs' in the working dir
|
||||
ExecStart = "${pkgs.bash}/bin/bash /run/${RuntimeDirectory}/start";
|
||||
# Show "joinmarket-yieldgenerator" instead of "bash" in the journal.
|
||||
# The parent bash start process has to run alongside the main process
|
||||
# because it provides the wallet password via stdin to the main process
|
||||
SyslogIdentifier = "joinmarket-yieldgenerator";
|
||||
User = cfg.user;
|
||||
ReadWritePaths = cfg.dataDir;
|
||||
} // nbLib.allowTor;
|
||||
|
Loading…
Reference in New Issue
Block a user