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

Add log to clone_nightscout.sh #47

Merged
merged 4 commits into from
Feb 15, 2023
Merged

Conversation

Navid200
Copy link
Collaborator

@Navid200 Navid200 commented Feb 12, 2023

This PR adds a log to the "Copy data from another Nightscout" utility.

This is needed because the utility may stop incomplete just due to SSH connectivity. If that happens, the user will have no idea if the process completed or not.
Having the log could be useful. And does not have any drawback.

It may also be useful for the support staff to be able to see that data has been transferred from another Nightscout.

@Navid200
Copy link
Collaborator Author

I have also updated the comments in the bootstrap file.

@tzachi-dar
Copy link
Collaborator

One comment about style:

If I understand correctly, you always want to add to /xDrip/Logs
you can use the >> operator (instead of >) in order to add data to a file.

LGTM.

@Navid200 Navid200 merged commit 00f053e into jamorham:vps-dev Feb 15, 2023
tupoybot pushed a commit to tupoybot/nightscout-vps that referenced this pull request May 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants