def reload(self):
    'Reloading of the service\n\n        This method will be executed when the Service receives a SIGHUP.\n\n        If not implemented the process will just end with status 0 and\n        :py:class:`ServiceRunner` will start a new fresh process for this\n        service with the same worker_id.\n\n        Any exceptions raised by this method will be logged and the worker will\n        exit with status 1.\n        '
    os.kill(os.getpid(), signal.SIGTERM)
Reloading of the service

This method will be executed when the Service receives a SIGHUP.

If not implemented the process will just end with status 0 and
:py:class:`ServiceRunner` will start a new fresh process for this
service with the same worker_id.

Any exceptions raised by this method will be logged and the worker will
exit with status 1.
def reload(self):
    'Reloading of the service\n\n        This method will be executed when the Service receives a SIGHUP.\n\n        If not implemented the process will just end with status 0 and\n        :py:class:`ServiceRunner` will start a new fresh process for this\n        service with the same worker_id.\n\n        Any exceptions raised by this method will be logged and the worker will\n        exit with status 1.\n        '
    os.kill(os.getpid(), signal.SIGTERM)