def privilegedStartService():
        """
        Do preparation work for starting the service.

        Here things which should be done before changing directory,
        root or shedding privileges are done.
        """

        Do preparation work for starting the service.

        Here things which should be done before changing directory,
        root or shedding privileges are done.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/application/service.py