Reference

mldonkey_server(1)

a wrapper to launch mlnet server.

NAME

mldonkey_server - a wrapper to launch mlnet server.

SYNOPSIS

mldonkey_server [options] [--] [all options of mlnet]

DESCRIPTION

This manual page documents briefly the mldonkey_server command.

This manual page was written for the Debian GNU/Linux distribution because the original program is Debian GNU/Linux specific.

This script is a simple wrapper to launch mlnet. It only action is to chdir in ~/.mldonkey/ and then launch the server. It also respawn the mlnet daemon in case of this one fails.

OPTIONS

Differents options to launch this command.

--daemon

Run in daemon mode

--quiet

Keep quiet

--logfile

Where to put the log ( not used for now ). By default ~/.mldonkey/mldonkey.log

--pidfile

Where to put the pid. By default ~/.mldonkey/mldonkey.pid

--program

Which program to start. By default /usr/bin/mlnet

--chdir

Where to chdir. By default ~/.mldonkey/

--chuid

What user to run under. By default user who launch mldonkey_server

--chgid

What group to run under. By default default group of the user who lauch mldonkey_server

--umask

What umask to use. By default user 0022

--nice

Niceness of the process. Only root can set a lower nice value to process.

--end-duration

How much time does it take to end mlnet. By default 5 min

--max-alive

For how long an instance of mlnet should run ( in hour ). By default 1 day

--min-alive

Minimun time between respawning. By default 15 min

--respawn-after

When mlnet fails, how long to wait before restarting. By default 10 min

--start

Start mldonkey_server

--stop

Stop a running mldonkey_server ( use the pidfile )

--restart

Restart a running mldonkey_server ( use the pifile, only respawn mlnet )

All the duration need to be expessed in second

SEE ALSO

mlnet (1)

LICENSE

This manual page was written by Sylvain Le Gall <[email protected]> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this manpage.

AUTHOR

Sylvain Le Gall <[email protected]>

Author.

COPYRIGHT

Copyright © 2003 Sylvain Le Gall