The main function for salt-api
()
| 580 | |
| 581 | |
| 582 | def salt_api(): |
| 583 | """ |
| 584 | The main function for salt-api |
| 585 | """ |
| 586 | _pin_multiprocessing_fork() |
| 587 | |
| 588 | import salt.utils.process |
| 589 | |
| 590 | salt.utils.process.notify_systemd() |
| 591 | |
| 592 | import salt.cli.api |
| 593 | |
| 594 | sapi = salt.cli.api.SaltAPI() # pylint: disable=E1120 |
| 595 | sapi.start() |
| 596 | |
| 597 | |
| 598 | def salt_main(): |
nothing calls this directly
no test coverage detected