Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solo.rs

Prevents an application from running twice. This is useful when you launch your task thanks to cron Inspired by Perl solo and Ruby version rolo, but using pid file instead of open a socket

Build by cargo

$ cargo build --release
$ cp ./target/release/solo /usr/local/bin/

Example usage

$ solo --pid=path_to_file.pid -- /usr/bin/long_running_backup_db.sh -some-param

About

Prevent application to run twice

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages