Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy daemon mode for ckb run #4237

Closed
CipherWang opened this issue Nov 19, 2023 · 3 comments · Fixed by #4245
Closed

Easy daemon mode for ckb run #4237

CipherWang opened this issue Nov 19, 2023 · 3 comments · Fixed by #4245
Assignees
Labels
b:cli Break cli options and config file p:should-have Priority: important but not necessary for delivery in the current delivery timebox t:enhancement Type: Feature, refactoring.

Comments

@CipherWang
Copy link

CipherWang commented Nov 19, 2023

Feature Request

Is your feature request related to a problem? Please describe.

There is no simple approach to run a ckb node in daemon or background mode. Although there is an introduction to start a ckb service, it's still too complex for average users.

Describe the solution you'd like

Similar to bitcoind, if ckb run provide a simple switch like ckb run --daemon, I believe more nodes will appear.

@CipherWang CipherWang added the t:enhancement Type: Feature, refactoring. label Nov 19, 2023
@eval-exec
Copy link
Collaborator

I read bitcoind daemon mode, learned that: bitcoind --daemon just run bitcoind in background, it won't auto start after system reboot.

However, using systemd can make the process restarts automatically after a reboot

@eval-exec eval-exec added the s:triage Status: This issue is pending to decide the next step. label Nov 21, 2023
@eval-exec eval-exec self-assigned this Nov 21, 2023
@eval-exec eval-exec added b:cli Break cli options and config file and removed s:triage Status: This issue is pending to decide the next step. labels Nov 21, 2023
@janx
Copy link
Member

janx commented Nov 21, 2023

But assume the existence of systemd reduce daemon mode's compatibility? e.g. does it work on Mac?

@eval-exec
Copy link
Collaborator

eval-exec commented Nov 21, 2023

MacOS doesn't have systemd, the equivalent of systmed on MacOS is called launchd

@eval-exec eval-exec removed their assignment Nov 21, 2023
@eval-exec eval-exec added the p:should-have Priority: important but not necessary for delivery in the current delivery timebox label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b:cli Break cli options and config file p:should-have Priority: important but not necessary for delivery in the current delivery timebox t:enhancement Type: Feature, refactoring.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants