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

CCF node to write its pid to file #522

Closed
olgavrou opened this issue Nov 5, 2019 · 2 comments · Fixed by #927
Closed

CCF node to write its pid to file #522

olgavrou opened this issue Nov 5, 2019 · 2 comments · Fixed by #927

Comments

@olgavrou
Copy link
Contributor

olgavrou commented Nov 5, 2019

Regarding this discussion here
it would be nice to be able to tell the CCF nodes to write their process id to a file on startup, e.g. by passing a --pidfile argument

@olgavrou olgavrou changed the title CCF node to write it's pid to file CCF node to write its pid to file Nov 5, 2019
@jumaffre
Copy link
Contributor

jumaffre commented Nov 5, 2019

You can already retrieve the pid from the sealed secrets file created by each node when starting/joining a network. E.g. sealed_secrets.20191105114613.22017 (22017 is pid).

But of course, this file will go when we have implemented member key shares.

@achamayou
Copy link
Member

Finding that file is slightly involved though, it'd be better for the remotes (and for the average daemonisation tool) to have node.pid somewhere deterministic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants