Previous Section  < Day Day Up >  Next Section

Recipe 22.9. Starting Apache at Boot

22.9.1 Problem

Okay, it's no big deal to type apachectl start. Still, you would like Apache to start automatically at boot. You installed Apache from sources—where is the init script?

22.9.2 Solution

apachectl is your init script. Just drop a copy of it into /etc/init.d, or make a soft link, then add it to the runlevels in which you want it to start. (See Chapter 7 to learn how to configure runlevels.)

22.9.3 Discussion

Debian users can modify /etc/init.d/skeleton to create a startup script for any service or daemon.

22.9.4 See Also

  • http://localhost/manual/invoking.html

    Previous Section  < Day Day Up >  Next Section