#!/usr/bin/env python import sys import Backend, Pivot def run_server(): Backend.debug = True server = Backend.Server("/tmp/pivot-slapd.sock", Pivot.Database) try: server.serve_forever() except KeyboardInterrupt: sys.exit(0) if __name__ == '__main__': run_server()