def cleanup(self):
        super(RailsRole, self).cleanup()
        if 'must-restart-nginx' in self.context and self.context['must-restart-nginx']:
            self.restart()
Restarts nginx if any changes have been made.
dataset/ETHPy150Open python-provy/provy/provy/more/debian/web/rails.py/RailsRole.cleanup