0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Dynamically generate configs and reload servers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

The ConfigSkeleton provides a framework for creating a common class of service which periodically (or in response to external stimulii) rewrites a file on disk and (optionally) causes a stimulus to be sent, in turn, to another process.

Installation

It's a gem:

gem install config_skeleton

There's also the wonders of the Gemfile:

gem 'config_skeleton'

If you're the sturdy type that likes to run from git:

rake install

Or, if you've eschewed the convenience of Rubygems entirely, then you presumably know what to do already.

Usage

A single execution of configuration generation can be performed by specifying the SERVICE_NAME_CONFIG_ONESHOT=true environment variable.

All of the documentation is provided in the ConfigSkeleton class.

Contributing

Patches can be sent as a Github pull request. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Licence

Unless otherwise stated, everything in this repo is covered by the following copyright notice:

Copyright (C) 2020 Civilized Discourse Construction Kit, Inc.

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3, as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.