mldonkey_server1
A wrapper to launch mlnet server.
Usage
mldonkey_server [options]
[--]
[all
options
of
mlnet]
Overview
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