View Single Post
Old 07-21-2011, 08:18 PM   #16
jbmia
Junior Member
jbmia began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
I'm no expert, but...

That init script didn't work till I removed the "-p 80" in the INI section...

Just a heads up... I researched the start-stop-daemon rules and found the -p and -m and --pid-file options... tried adding a -m.. then adding -m and removing -p.. no dice... then just removed "-p 80" and it worked fine...

As it was the script didn't seem to be writing a pid file in /var/run

I'm no coder and have to look up every cli command I need, so I'm not an authority.. YMMV... I'm on Fedora 14.

With all of the above said, HUGE THANKS to the Tedderouni for making the script available!! Gracias!!

edit: I think I realize what might have been going on... Tedderouni was probably setting the port to 80 with that "-p 80", but I'm thinking that daemon start-stop also has a -p, which is used to check for a pid file... per my points above the results are the same, but this may be the reason the daemon wasn't starting and a pid file wasn't being written.. just a thought..

jbmia

Last edited by jbmia; 07-21-2011 at 08:53 PM. Reason: update...
jbmia is offline   Reply With Quote