From: Jeremy Stanley Date: Mon, 16 Jul 2018 03:18:17 +0000 (+0000) Subject: Optionally manage a daemon during selftest runs X-Git-Tag: 0.0.1~66 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=8a903d4a3899982b281ca33ee9c131b2fd9ef04d;hp=8a903d4a3899982b281ca33ee9c131b2fd9ef04d;p=mudpy.git Optionally manage a daemon during selftest runs If a mudpy config file is supplied when invoking the selftest suite, use it to start the service. This is intended for use with testing automation such as tox. Handle both daemonized/disassociated and direct child process possibilities, and attempt to clean the up afterward. Also clean up the test environment when starting in case stale processes or old logs were left behind by a previous run. ---