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

specify config containing keys via flag to services #56

Open
0pcom opened this issue Mar 11, 2024 · 0 comments
Open

specify config containing keys via flag to services #56

0pcom opened this issue Mar 11, 2024 · 0 comments

Comments

@0pcom
Copy link
Collaborator

0pcom commented Mar 11, 2024

with reference to the README documentation for skywire-deployment

https://github.com/skycoin/skywire-deployment/

most of the services are started with the flag --sk $(tail -n1 /etc/some.config)

To avoid needing to use external utilities when invoking the service, we should allow the conf file containing keys (which is not actually json) to be specified directly via flag, and the secret key should be parsed from the last line of that file.

NOTE: systemd services for the skywire services will be included in the package with the aforementioned tail -n1 method for now ; which will basically require bash at that point. In order to eliminate those spurious deps in the services, we should implement the flag described in this ticket.

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

No branches or pull requests

1 participant