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

Client resolve daemon port dynamically #13

Open
radumarias opened this issue Aug 6, 2024 · 0 comments
Open

Client resolve daemon port dynamically #13

radumarias opened this issue Aug 6, 2024 · 0 comments

Comments

@radumarias
Copy link
Owner

radumarias commented Aug 6, 2024

App details rencfs_desktop_common/src/app_details.rs build similar to https://github.com/radumarias/rencfs_desktop/blob/16b6928e6fc12de2e4d0eefb85afbdc29bbd2d01/rencfs_desktop_common/src/directories.rs#L10

When server starts we create a yaml file (as below) in /etc/app_id/discovery.yaml (as above) with 644 perm and save the IP and port and client gets it from there.

/etc/app_id/discovery.yaml

ip: IP
port: PORT
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