Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 18, 2012
  1. @kyleconroy
  2. @kyleconroy

    Merge pull request #78 from kyleconroy/separation

    kyleconroy committed
  3. @kyleconroy
  4. @kyleconroy

    No need to change Makefile

    kyleconroy committed
  5. @kyleconroy
  6. @kyleconroy
Commits on Dec 17, 2012
  1. @kyleconroy

    Fix merge conflicts

    kyleconroy committed
  2. @kyleconroy

    Merge pull request #68 from msabramo/testing

    kyleconroy committed
    Testing - nosetests, tox, and Travis CI
Commits on Dec 12, 2012
  1. Merge pull request #76 from kelvl/master

    Fixes for SUID/SGID and SIGTERMs
Commits on Aug 21, 2012
  1. @kelvl

    Added pwd and grp to imports for runner so setuid and setgid works

    kelvl committed
    Changed the order in which setuid and setgid is ran so that the process doesn't lose privilege to setgid after setuid completes
    Removed recursive child.serve_forever() from serve_forever(),
    this was creating a bug where a child service's serve_forever() blocks, because the loop runs sequentially, the child's siblings' serve_forever() doesn't yet run.
    When stop() is issued on the parent, the child's serve_forever() finishes, and the sibling's serve_forever() is called, which starts the sibling again, leading to an inconsistent state and the process never dies. This leads to the parent ginkgo service to not respond correctly to SIGTERMs
    I believe the serve_forever() loop is redundant, because self.state.wait('stopped') will have already be waiting for all child services to stop. The parent will only transition to stopped after all child services have stopped.
Commits on Jun 23, 2012
Commits on Jun 22, 2012
Commits on Jun 21, 2012
  1. fixing weird amend

  2. Wrote GlobalContext mixin for use with Process and Config to make the…

    …m context managers that will set their global ginkgo singleton while in that context. Also, GlobalContext has tests.
Commits on May 30, 2012
  1. add serve_forever back to basicservice

    Alan Shreve committed
Commits on May 24, 2012
  1. remove gevent dependency

    Alan Shreve committed
  2. fix threading's do_stop function to approximate the functionality del…

    Alan Shreve committed
    …ivered by the other async modules.
Commits on May 23, 2012
  1. move around signal imports

    Alan Shreve committed
  2. move the most common and default implementations of the signal/init f…

    Alan Shreve committed
    …unctions into AbstractAsyncManager
  3. Merging in the eventlet branch and tweaking it a bit to match the sli…

    Alan Shreve committed
    …ghtly modified async interface.
  4. Implement an async manager for threads. Make 'async' a configuration …

    Alan Shreve committed
    …option that allows you to set the default async manager for services. Improved help messages when choosing invalid async managers. Removed serve_forever and its use in runner to fix bugs which would sometimes cause services to be started as they were stopping.
Commits on May 18, 2012
  1. Wrote GlobalContext mixin for use with Process and Config to make the…

    …m context managers that will set their global ginkgo singleton while in that context. Also, GlobalContext has tests.
Commits on May 15, 2012
  1. calling group on a Config object now returns None if the path given i…

    …s actually a value and not a group. And Groups now also act as read-only dicts using the collections.Mapping mixin/base.
  2. changed default logfile from /tmp/ServiceName.log to ~/.ServiceName.l…

    …og plus some other refactoring
  3. made subclass of Process called DaemonProcess to avoid repeating if s…

    …tatements. prepare_app was renamed to setup_process and takes a daemonize option. daemon is no longer configurable. when you use ginkgoctl, it will daemonize. when you use ginkgo it will not, unless you give it the -d argument. pidfile is only created when you daemonize, so is handled only in DaemonProcess. lastly, pidfile is stored as a dot file in your home directory instead of in /tmp by default.
  4. @msabramo

    Add .travis.yml

    msabramo committed
  5. @msabramo
  6. @msabramo
Commits on May 11, 2012
  1. removing examples. they're so old they're starting to become more har…

    …mful than useful. new examples should be written
  2. added pre-wrapped gevent servers. threw in a simple StreamClient serv…

    …ice. ServerWrapper is not deprecated
  3. added module docstrings to all modules. maybe not the best, but a sta…

    …rt. also some minor refactorings
Commits on May 10, 2012
  1. added module docstring, refactored one-off functions used by daemoniz…

    …e, and removed unused imports
  2. raise exception when configuration loading fails, but catch it and lo…

    …g as warning in process reload handler. this means if you use ginkgoctl to reload, it will fail before it even reloads. if you do a manual SIGHUP, it will log a warning that config failed to reload and will for now continue on with reloading of children
  3. as it turns out, we want reload to behave the same way as start in re…

    …gards to using start_before
Something went wrong with that request. Please try again.