Socket
Book a DemoInstallSign in
Socket

servicebuilder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

servicebuilder

0.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

servicebuilder

servicebuilder - a tool for building runit directory structures from a simple YAML configuration. Tested with ruby 1.8.

Usage

servicebuilder -c CONF_DIR -s STAGING_DIRECTORY -d INSTALL_DIRECTORY

Notes

The STAGING_DIRECTORY is where your service directories will be created. Runit should not be monitoring this directory. To have runit notice a service, it will be symlinked into the INSTALL_DIRECTORY. This directory should be the directory monitored by runsvd. Runit will then begin supervising the service.

CONF_DIR should be something like /etc/servicebuilder.d/ . It must be filled with config files that end in ".yaml".

Sample config file:

mysql: run: mysqld -fg sleep: 30 sshd: run: sshd -fg log: svlogd -tt logsleep: 5

All "run" scripts and "log" scripts WILL BE PREPENDED WITH AN "exec"! Your run script MUST RUN IN THE FOREGROUND or you'll create a fork bomb. For more information about runit, see http://smarden.org/runit/ .

FAQs

Package last updated on 06 Sep 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.