View previous topic :: View next topic |
Author |
Message |
jacek_migacz Tux's lil' helper
Joined: 04 Jun 2005 Posts: 141
|
Posted: Tue Jun 21, 2005 10:19 am Post subject: running apache when offline |
|
|
hi,
how to run my apache when i'm offline?
i use dhcpcd.... he tries to find dhcpserwer at boot and do not load apache when failed
after non-dhcp boot, manual typing..
/etc/init.d/apache2 start also tries to find dhcp server
i want to be able to use my apache AL THE TIME not only when im on-line
any suggestion? |
|
Back to top |
|
|
tihkal Apprentice
Joined: 28 Feb 2004 Posts: 225
|
Posted: Tue Jun 21, 2005 10:31 am Post subject: |
|
|
Look in /etc/init.d/apache2 and you'll see a section called depend. I'll wager it's dependant on net, and therfore if it cannot bring a network card up via dhcp then it wont start. You could just comment out the relevant lines until it starts as you want.
I'm sure there's probably a more elegant way than this though... |
|
Back to top |
|
|
|