shellflip

Graceful process restarts in Rust

BSD-3-CLAUSE License

Downloads
92.2K
Stars
203

Bot releases are hidden (Show)

shellflip - v2.1.0 Latest Release

Published by inikulin 11 months ago

What's Changed

  • Kill child process if parent state cannot be delivered
shellflip - v2.0.0

Published by cbranch over 1 year ago

What's Changed

  • Support setting environment variables in the new process, via environment in RestartConfig.
  • Add state transfer from old process to new, via the new lifecycle_handler in RestartConfig.
  • The restart task returns the child process as a std::process::Child on successful restart.

Migration

Users of v1.0.0 can migrate by:

  • partially initialising RestartConfig, now that it implements Default
  • ignoring or using the return value from the spawned restart task