Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 07-13-2005, 05:37 AM   #1
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Rep: Reputation: 15
Making a service as a system service

im using suse 9.3 proffesional but i have a problem i want httpd and mysql services to start at startup but i dont know how to do that is there anyway to make them system service
if there is how?
Old 07-13-2005, 08:12 AM   #2
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
use YaST

I have not been using SuSE for some time, but as much as I remember, it was like that:

1. Launch YaST
2. From servers or services tab find something related to network services (SuSE has a separate application for service launching and control)
3. Check MySQL and Apache

If you did not use YaST to install the applications then you must create launch scripts yourself.
Old 07-13-2005, 08:36 AM   #3
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
I think the YaST Runlevel Editor is what you are looking for (in the 'System' section). It manages all scripts in /etc/init.d, so if your service has a script there, you can add and remove it from the runlevels (including boot). I am pretty sure that Apache and mySQL have predefined scripts.

A little less sophisticated is /etc/init.d/boot.local. Here you can add commands that will be run at boot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a program/service ( MySQL ) start up on boot ( FC3 ) karmazilla Fedora 6 06-27-2005 11:19 AM
How do I make something a system service? sloik2000 Linux - Software 3 03-25-2005 04:16 PM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 03:08 AM
Making a Mail Cluster service freelinuxcpp Linux - Networking 2 03-01-2004 04:44 AM
Add a new system service tmelo49 Linux - Newbie 3 04-23-2003 07:48 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration