[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-users] [patch #4449] New parameter for pid file: -pid <dir>, s
From: |
spiralvoice |
Subject: |
[Mldonkey-users] [patch #4449] New parameter for pid file: -pid <dir>, small improvements for pid files |
Date: |
Tue, 20 Sep 2005 21:58:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050915 Firefox/1.0.6 |
Update of patch #4449 (project mldonkey):
Summary: Reassigned item: accept custom pid file directory
=> New parameter for pid file: -pid <dir>, small improvements for pid files
_______________________________________________________
Follow-up Comment #4:
This patch introduces a new parameter for the directory of the pid file, this
works only on non-Windows platforms.
Also a pid file is written on Windows now to avoid having several
MLDonkey processes working in the same data directory.
The name of the pid file is now the same as the name of the MLDonkey binary
with extension ".pid".
Because the pid file can now be present in a different directory
the presence for the file "config_files_space.tmp" is also checked
on startup to avoid having several MLDonkey processes working in
the same data directory.
Think of this scenario:
gentoo mldonkey # ./mlnet -pid /var/run
2005/09/20 21:53:13 Starting MLDonkey 2.6.4.CVS ...
2005/09/20 21:53:13 MLDonkey is working in /root/.mldonkey
...
gentoo mldonkey # ./mlnet
2005/09/20 21:53:55 Starting MLDonkey 2.6.4.CVS ...
2005/09/20 21:53:55 MLDonkey is working in /root/.mldonkey
2005/09/20 21:53:55 /root/.mldonkey/config_files_space.tmp exists.
(Core exits)
or
gentoo mldonkey # ./mlnet
2005/09/20 21:55:43 Starting MLDonkey 2.6.4.CVS ...
2005/09/20 21:55:43 MLDonkey is working in /root/.mldonkey
...
gentoo mldonkey # ./mlnet.static
2005/09/20 21:55:54 Starting MLDonkey 2.6.4.CVS ...
2005/09/20 21:55:54 MLDonkey is working in /root/.mldonkey
2005/09/20 21:55:54 /root/.mldonkey/config_files_space.tmp exists.
(Core exits, this happens because pid file is now called mlnet.static.pid)
_______________________________________________________
Additional Item Attachment:
File name: pid.patch Size:4 KB
<http://savannah.nongnu.org/patch/download.php?item_id=4449&item_file_id=5215>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4449>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [Mldonkey-users] [patch #4449] New parameter for pid file: -pid <dir>, small improvements for pid files,
spiralvoice <=