Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running apache when offline
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jacek_migacz
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 141

PostPosted: Tue Jun 21, 2005 10:19 am    Post subject: running apache when offline Reply with quote

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
View user's profile Send private message
tihkal
Apprentice
Apprentice


Joined: 28 Feb 2004
Posts: 225

PostPosted: Tue Jun 21, 2005 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum