#2366: Location of deluge pid file
---------------------+------------------------------------
 Reporter:  tuusjr   |      Owner:
     Type:  bug      |     Status:  new
 Priority:  minor    |  Milestone:  Future
Component:  Console  |    Version:  other (please specify)
 Keywords:           |
---------------------+------------------------------------
 Currently, the deluge pid file is located under $XDG_CONFIG_DIR, which may
 force the user to manually delete the pid file on unclean exits, eg power
 failure. If the location of the pid file was to use the $XDG_RUNTIME_DIR
 specification, this situation would be remedied.

 Exerpt of the standard according to [http://standards.freedesktop.org
 /basedir-spec/basedir-spec-latest.html]

 "The lifetime of the directory MUST be bound to the user being logged in.
 It MUST be created when the user first logs in and if the user fully logs
 out the directory MUST be removed. If the user logs in more than once he
 should get pointed to the same directory, and it is mandatory that the
 directory continues to exist from his first login to his last logout on
 the system, and not removed in between. Files in the directory MUST not
 survive reboot or a full logout/login cycle."

 The specification ensures that a pid file will not survive on a reboot or
 login/logout cycle. Thus, using $XDG_RUNTIME_DIR remedies this situation.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2366>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to