--cleanup from hook #217

Closed
opened 2025-12-29 01:19:08 +01:00 by adam · 1 comment
Owner

Originally created by @basbebe on GitHub (May 4, 2017).

is it possible to call dehydrated --cleanup from within a hook, e.g. exit_hook?

Originally created by @basbebe on GitHub (May 4, 2017). is it possible to call `dehydrated --cleanup` from within a hook, e.g. `exit_hook`?
adam closed this issue 2025-12-29 01:19:08 +01:00
Author
Owner

@lukas2511 commented on GitHub (Jul 10, 2017):

I implemented a feature for this in e6d6882c78. Just set AUTO_CLEANUP="yes" in your config and it will run the cleanup routine before exit_hook. Otherwise (if you really need to do it manually) you can force dehydrated to use a different lockfile, but I don't recommend doing that.

@lukas2511 commented on GitHub (Jul 10, 2017): I implemented a feature for this in e6d6882c78c3f91ad6e296c058063a01a35c1a3d. Just set `AUTO_CLEANUP="yes"` in your config and it will run the cleanup routine before `exit_hook`. Otherwise (if you really need to do it manually) you can force dehydrated to use a different lockfile, but I don't recommend doing that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#217