Module cleanup_daemon

Source
Expand description

A daemon process that clean ups open files when the main process is killed.

Structs§

CleanupCommand
A command to run (with current working directory, but otherwise unchanged environment from the time of starting the daemon)
CleanupDaemon
CleanupHandler
TemporaryCommand
TemporaryFile

Enums§

CleanupItem
CleanupMessage
Deletion
Note: paths need to be absolute (or canonical), or using chdir in the app after starting the daemon will lead to breakage! Use the constructor functions rather than constructing this type directly!