Starting Apache and MySQL on SuSE 8.1 at bootup

Oct 14, 2004
  1. I've got a SuSE 8.1 box with Apache 2 and MySQL 4.1 running on it. I want these to be executed at bootup automatically, namely "/usr/local/apache2/bin/apachectl -start" and '/usr/local/mysql/bin/mysqld_safe &"

    I know about init.d, but as I compiled these myself, the don't come with init scripts, and as I don't need the other features of the init system (the only time this box has ever gone off is a powerout, and init shutdown is useless then), is there any other way to have these two commands executed on boot, or even on login by root or my own account?
  2. Per Hansson

    Per Hansson TS Server Guru Posts: 1,921   +178

    Does SuSE support the chkconfig command? If not try to find a similar command...

    Or just add it to init.local
  3. Nodsu

    Nodsu TS Rookie Posts: 5,837

    AFAIK SuSE uses /etc/init.d/boot.local for any user defined startup commands.
  4. MYOB

    MYOB TS Rookie Topic Starter Posts: 492


    Any way to give the system an argument to bypass boot.local from GRUB?
Topic Status:
Not open for further replies.

Similar Topics

Create an account or login to comment

You need to be a member in order to leave a comment
TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...

Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.