Skip to main content

RESTART_EXIT_CODE

Constant RESTART_EXIT_CODE 

Source
pub const RESTART_EXIT_CODE: i32 = 100;
Expand description

Exit code that signals the service manager to restart the process.

On Windows, trigger_restart exits with this code instead of using exec(). The wrapping service (e.g. NSSM or Windows Service) should be configured to restart on this exit code.