Chris Beelby committed 586bee7

Updated doc string in DropPrivileges class to reflect the new URL for the article that was previously linked to.

Also updated the example usage of the class to reflect the actual use of the class.

  • Participants
  • Parent commits 7142f55

Comments (0)

Files changed (2)


 class DropPrivileges(SimplePlugin):
     """Drop privileges. uid/gid arguments not available on Windows.
-    Special thanks to Gavin Baker:
+    Special thanks to Gavin Baker:
     def __init__(self, bus, umask=None, uid=None, gid=None):


-    DropPrivileges(cherrypy.engine, '/var/run/').subscribe()
+    DropPrivileges(cherrypy.engine, uid=1000, gid=1000).subscribe()
 .. currentmodule:: cherrypy.process.plugins