Add guest user with same ssh keys as root and fix nodeinfo not waiting for clightning to warm up
This commit is contained in:
parent
eca9864cf3
commit
ac2be00c7f
4 changed files with 33 additions and 10 deletions
|
|
@ -52,6 +52,8 @@ in {
|
|||
{ description = "Run clightningd";
|
||||
path = [ pkgs.clightning pkgs.bitcoin ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "bitcoind.service" ];
|
||||
after = [ "bitcoind.service" ];
|
||||
preStart = ''
|
||||
mkdir -p ${home}/.lightning
|
||||
ln -sf ${configFile} ${home}/.lightning/config
|
||||
|
|
@ -61,6 +63,7 @@ in {
|
|||
ExecStart = "${pkgs.clightning}/bin/lightningd";
|
||||
User = "clightning";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
PrivateTmp = "true";
|
||||
ProtectSystem = "full";
|
||||
NoNewPrivileges = "true";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue