Skip to content

kitsuneninetails/term-handler-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Term Handler

Handles waiting for a termination or interrupt signal with a loop. The loop will exit once the SIGTERM/SIGINT is sent (usually via Ctrl-C).

Usage:

    print!("Waiting for TERM signal");
    wait_for_term();
    print!("Term signal received, quitting!");

About

Term signal handler for rust- wait on TERM or INT signals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages