Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 804 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 804 Bytes

voror

Voror is a daemon that watches other daemons and respawns them if a restart file is touched. This is useful for Capistrano deployments so that restarts require only touching a file.

Requirements

Voror requires the watchdog Python module. To install it, if you're using Pip:

pip install watchdog

Or if you're using easy_install:

easy_install watchdog

Installing

  1. Copy ./voror into /etc/init.d/
  2. Create voror.conf in /etc/voror/
  3. Add to your startup by running sudo update-rc.d voror defaults

Configuring

Place daemons to watch on each line of your voror.conf. Example:

mydaemon
nginx
redis

Usage

Whenever you touch /tmp/voror/(mydaemon|nginx|redis), Voror will restart the daemon that you touched the file for.