---
name: "mldonkey_server"
section: "1"
platform: "linux"
package: "mldonkey-server"
version: "2.8.1-2etch1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/mldonkey_server"
---

# 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 \<sylvain.le-gall@polytechnique.org\> 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** \<sylain.le-gall@polytechnique.org\>

-

  Author.

## COPYRIGHT

Copyright © 2003 Sylvain Le Gall\
