def salt_syndic():
 import salt.utils.process
 salt.utils.process.notify_systemd()
 import salt.cli.daemons
 pid = os.getpid()
 try:
  syndic = salt.cli.daemons.Syndic()
  syndic.start()
 except KeyboardInterrupt:
  os.kill(pid, 15)

def salt_syndic ( ) : import salt . utils . process salt . utils . process . notify_systemd ( ) import salt . cli . daemons pid = os . getpid ( ) try : syndic = salt . cli . daemons . Syndic ( ) syndic . start ( ) except KeyboardInterrupt : os . kill ( pid , 15 )
start the salt syndic .