I'm not sure either as I don't quite get why Apache would stop working on a new IP. Anyway, here is a workaround.
PPP users can place apache/slashd restart commands in the file/etc/ppp/ip-up or/etc/ppp/ppp.linkup, which are called whenever a ppp connection is made.
Users of dhcpcd may place those commands in the file/etc/dhcpc/dhcpcd-eth0.exe or/etc/dhcpc/dhcpcd-eth1.exe which are executed whenever a new dynamic IP address is acquired.
Not sure (Score:1)
Re:Not sure (Score:1)
PPP users can place apache/slashd restart commands in the file
Users of dhcpcd may place those commands in the file
Parent