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
  • Branches default

Comments (0)

Files changed (2)

File cherrypy/process/

 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):

File sphinx/source/refman/process/plugins/dropprivileges.rst

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