LFD restart bug in commandline

Post Reply
Black Tiger
Junior Member
Posts: 73
Joined: 17 Feb 2009, 14:14
Contact:

LFD restart bug in commandline

Post by Black Tiger »

When I use /etc/rc.d/init.d/csf restart it says that I should use csf -r.
That works oke.

However, normally you often also should restart LFD and that worked before (if I'm not mistaken) with lfd -r too.
This does not work anymore, if you do a lfd -r to restart lfd, you get the following error notice in lfd.log and it wont restart:

Code: Select all

*Error* attempt to start lfd when it is already running, at line 142
Ofcourse it will restart with "service lfd restart" or restart from the init script, but I thought it had to work this way too.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: LFD restart bug in commandline

Post by ForumAdmin »

There has never been a CLI for lfd, you have to restart it as a service:

Code: Select all

/etc/init.d/lfd restart
csf, however, has a CLI and should be restarted using:

Code: Select all

csf -r
Black Tiger
Junior Member
Posts: 73
Joined: 17 Feb 2009, 14:14
Contact:

Re: LFD restart bug in commandline

Post by Black Tiger »

Ah oke. I thought lfd -r would do that too, used it several times, but did not check the log though. That would explain some things to me. :)

However, when it's not intended, why his this -r option present and doing something in lfd?
And wouldn't this be a nice feature?
Post Reply