Page 1 of 1

LFD restart bug in commandline

Posted: 16 Feb 2014, 13:57
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.

Re: LFD restart bug in commandline

Posted: 16 Feb 2014, 14:47
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

Re: LFD restart bug in commandline

Posted: 16 Feb 2014, 14:59
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?