Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Starting Apache and MySQL on SuSE 8.1 at bootup

MYOB
10-14-2004, 04:44 PM
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?

Per Hansson
10-15-2004, 04:04 AM
Does SuSE support the chkconfig command? If not try to find a similar command...

Or just add it to init.local

Ad
10-15-2004, 04:04 AM
  

Nodsu
10-15-2004, 04:33 AM
AFAIK SuSE uses /etc/init.d/boot.local for any user defined startup commands.

MYOB
10-15-2004, 05:07 PM
Thanks

Any way to give the system an argument to bypass boot.local from GRUB?

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.