Skip to content

duythinht/solo.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages