Skip to content

Conversation

roucc
Copy link
Contributor

@roucc roucc commented Sep 1, 2025

Before, rclone serve would crash when sent a SIGHUP which contradicts the documentation - saying it should flush the directory caches.

Moved signal handling from the mount into the vfs layer, which now handles SIGHUP on all uses of the VFS including mount and serve.

Fixes #8607

Checklist

  • [ x] I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • [x ] All commit messages are in house style.
  • [ x] I'm done, this Pull Request is ready for review :-)

Before, rclone serve would crash when sent a SIGHUP which contradicts
the documentation - saying it should flush the directory caches.

Moved signal handling from the mount into the vfs layer, which now
handles SIGHUP on all uses of the VFS including mount and serve.

Fixes rclone#8607
Copy link
Member

@ncw ncw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @roucc - looks perfect :-)

Will merge now.

@ncw ncw merged commit a4962e2 into rclone:master Sep 1, 2025
17 of 18 checks passed
@roucc roucc deleted the fix-8607-vfs-sighup branch September 1, 2025 12:15
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.

SIGHUP killing rclone serve instead of flushing directory caches
2 participants