Start the actual master. If sub-classed, don't **ever** forget to run: super(YourSubClass, self).start() NOTE: Run any required code before calling `super()`.
(self)
| 36 | self.set_pidfile() |
| 37 | |
| 38 | def start(self): |
| 39 | """ |
| 40 | Start the actual master. |
| 41 | |
| 42 | If sub-classed, don't **ever** forget to run: |
| 43 | |
| 44 | super(YourSubClass, self).start() |
| 45 | |
| 46 | NOTE: Run any required code before calling `super()`. |
| 47 | """ |
| 48 | super().start() |
| 49 | if check_user(self.config["user"]): |
| 50 | log.info("The salt-api is starting up") |
| 51 | self.api.run() |
| 52 | |
| 53 | def shutdown(self, exitcode=0, exitmsg=None): |
| 54 | """ |