Skip to content

This is a very basic module to manage the runit service supervisor based on Markus Strauss original puppet module but with additional Puppet 5 goodness. http://smarden.org/runit/

Notifications You must be signed in to change notification settings

syntacticvexation/puppet-runit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This is a very basic module to manage the runit service supervisor based on Markus Strauss original puppet module but with additional Puppet 5 goodness.

Example Usage

class { 'runit': }

# define a environment variable, placed under /etc/sv/diaspora_worker/env/QUEUE
runit::env { 'QUEUE': service => 'diaspora_worker' }

# define a service unter /etc/sv/diaspora_worker
runit::service { "diaspora_worker":
  user    => diaspora,                        # service user and group
  group   => diaspora,
  rundir  => '/var/rails/diaspora',           # service run directory
  command => 'bundle exec rake resque:work',  # command to start the service
  enable  => true,                            # enabling the service by
                                              # linking it to /etc/services/
}

About

This is a very basic module to manage the runit service supervisor based on Markus Strauss original puppet module but with additional Puppet 5 goodness. http://smarden.org/runit/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 93.4%
  • Shell 6.6%