Skip to content

lihanli/gadfly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gadfly

Converts your ruby script into an upstart daemon.

Requirements

  • rbenv
  • upstart (installed by default on Ubuntu)

Usage

$ gem install gadfly
$ cd /path/to/project
$ gadfly your_scripts_name.rb

Troubleshooting

Stdout from the script is outputted to /var/log/upstart/your_scripts_name.log

To check if your script is running and get the PID (for long running scripts)

$ sudo status your_scripts_name

The config file gadfly creates will be located at /etc/init/your_scripts_name.conf

About

convert a ruby script into an upstart daemon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages