ElementsProject / lightning-charge

A simple drop-in solution for accepting lightning payments
MIT License
553 stars 80 forks source link

Start Up #50

Closed normandmickey closed 5 years ago

normandmickey commented 6 years ago

What's the recommended way to start lightning-charge automatically on boot?

shesek commented 6 years ago

Depends on your operating system. On Ubuntu, you can use systemd with a service file similar to that (from another project). You can also try setting this up with pm2, which I personally like.

normandmickey commented 6 years ago

I decided to use PM2. Fairly simple after I figured out how to use it. Do you mind if I submit try to submit PR with instructions?

On Sat, Oct 13, 2018, 6:24 PM Nadav Ivgi notifications@github.com wrote:

Depends on your operating system. On Ubuntu, you can use systemd with a service file similar to that https://github.com/shesek/spark-wallet/blob/master/scripts/spark-wallet.service (from another project). You can also try setting this up with pm2 http://pm2.keymetrics.io, which I personally like.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ElementsProject/lightning-charge/issues/50#issuecomment-429580219, or mute the thread https://github.com/notifications/unsubscribe-auth/ACV4DgtBJD18AAfbWBPuR5kKUEraF_O-ks5ukmgbgaJpZM4Xanau .

shesek commented 6 years ago

Please do! But try to keep it short as the README already gotten pretty long. Thanks.