#1473: Adding support for switching uid after startup for daemons
-------------------------+--------------------------------------------------
Reporter: cinderblock | Owner:
Type: patch | Status: new
Priority: minor | Milestone: 1.3.2
Component: core | Version: 1.3.1
Keywords: |
-------------------------+--------------------------------------------------
Comment(by cinderblock):
I've moved the appropriate imports around add taken out the options on
non-supported systems. This enabled some trimming of extra tests in many
places.
I also applied that change to the forking command line options. They don't
need to be displayed if unsupported. The one problem with this is for the
daemon, if the option isn't displayed, it would default to effectively
false, and then try to daemonize on non supported systems, so I had to
check if running windows/osx twice.
One obvious (and probably preferred) solution would be to change the --do-
not-daemonize option to --fork to match the webui. An obvious problem with
that is the chance of breaking current installations.
PS: While I think this should be obvious (especially since so little was
written) if there are any copyright/legal concerns with my work, the
standard OSS non-liability claims apply. If there are any rights that
might be mine, I release my code to the Public Domain.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1473#comment:5>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.