Simple process manager
Project description
ReloadConf
Simple process manager. Reloadconf is a front-end for arbitrary commands. It will watch a directory for configuration files and optionally run a command to test those configuration files. When the configuration is valid a command (daemon) is executed. Whenever new configuration files are detected this procedure is repeated.
Here is an example usage for nginx.
- ::
$ reloadconf –config=/etc/nginx/nginx.conf –command=”nginx -g nodaemon: true” –test=”nginx -t” –watch=/tmp/nginx
First of all, if /etc/nginx/nginx.conf exists, it will be verified using nginx -t and if successful, nginx will be started. In either case reloadconf will then proceed to watch /tmp/nginx for a file name nginx.conf. If present, that fill will be tested, and a if successful a HUP signal will be sent to nginx (or nginx will be started).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.