Slash Boxes

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login
Loading... please wait.
  • I am not sure, but can't you just restart named?
    • by glorat (2431) on Monday July 22 2002, @05:55PM (#5132) Homepage
      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.