Skip to content
Discussion options

You must be logged in to vote

@DoneWorkin

When the client runs, when coming out of a sleep state is something more of a customisation of your operating environment than a feature request and/or code fix here.

The easiest element to implement is a systemd system-sleep hook.

A systemd-suspend.service runs executables in /usr/lib/systemd/system-sleep/ supporting 2 arguments for suspend, hibernate etc.

What you will need to develop is a script, that restarts the systemd service that is enabled, so when you are sleeping your laptop or waking your laptop - when you wake/resume, you restart the applicable 'onedrive' service(s).

This way on system resume, the service is restarted, clearing any stale curl status, but puts the …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@DoneWorkin
Comment options

@DoneWorkin
Comment options

@abraunegg
Comment options

@DoneWorkin
Comment options

@abraunegg
Comment options

Answer selected by abraunegg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants