def salt_syndic(): ''' Start the salt syndic. ''' pid = os.getpid() try: syndic = salt.Syndic() syndic.start() except KeyboardInterrupt: os.kill(pid, 15)
def salt_syndic(): ''' Kick off a salt syndic daemon. ''' pid = os.getpid() try: syndic = salt.Syndic() syndic.start() except KeyboardInterrupt: os.kill(pid, 15)