SOURCES: mldonkey.init - please read priority from
/etc/sysconfig/...
Grzegorz Konopko
kolodko1 at o2.pl
Tue Oct 12 10:02:48 CEST 2004
Dnia wtorek, 12 października 2004 09:31, Pawel Sakowski napisał:
> On Tue, 12 Oct 2004, kolodko wrote:
> > - please read priority from /etc/sysconfig/mldonkey
> > [...]
> > - daemon --user mldonkey $MLDONKEY_NICE "cd ~mldonkey && $MLDONKEY_PATH
> /dev/null 2>&1 &"
> > + daemon --user mldonkey "cd ~mldonkey && nice -n $MLDONKEY_NICE
$MLDONKEY_PATH > /dev/null 2>&1 &"
>
> daemon already has that feature:
>
> msg_usage " daemon [--user user] [--fork] [+/-nicelevel] {program}"
I know, but not work, i don't know how do it better, this feature in
rc-scripts in this case not working.
I use mldonkey and it's very irritating for me and not only me
(http://bugs.pld-linux.org/ but not online)
>
> > [ -z "$MLDONKEY_NICE" ] && MLDONKEY_NICE=0
>
> ... but this should've been MLDONKEY_NICE=+0 (or removed, "" would give
> the default priority.
More information about the pld-devel-en
mailing list