vincenzopalazzo / lampo.rs

lampo (lightning in Italian) is a experimental implementation of a tiny lightning node
http://lampo.devcrew.cc
BSD 3-Clause "New" or "Revised" License
32 stars 14 forks source link

lampod-cli: deamonize application #159

Open vincenzopalazzo opened 6 months ago

vincenzopalazzo commented 6 months ago

Now that we have decent log management with https://github.com/vincenzopalazzo/lampo.rs/pull/158 we should implement a decent demonize of the main daemon

vincenzopalazzo commented 6 months ago

for now we skip this because I need to understand how to do it a little bit more

You can run in background with the following command

lampod-cli --restore-wallet "prison napkin live tongue small science order lab trim sustain pizza cycle" --log-level trace --log-file ~/.lampo/testnet/log.log 2>&1 &

the 2>&1 & does the trick