--- a/tests/killdaemons.py Mon Jun 08 14:44:30 2015 -0500 +++ b/tests/killdaemons.py Mon Jun 08 14:21:45 2015 -0500 @@ -87,5 +87,9 @@ pass if __name__ == '__main__': - path, = sys.argv[1:] + if len(sys.argv) > 1: + path, = sys.argv[1:] + else: + path = os.environ["DAEMON_PIDS"] + killdaemons(path)