LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

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

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


Hi
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?
Thanks
 
Old 07-13-2005, 07:12 AM   #2
Sohni
Member
 
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, 07:36 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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.
 
  


Reply


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 10:19 AM
How do I make something a system service? sloik2000 Linux - Software 3 03-25-2005 03:16 PM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 02:08 AM
Making a Mail Cluster service freelinuxcpp Linux - Networking 2 03-01-2004 03:44 AM
Add a new system service tmelo49 Linux - Newbie 3 04-23-2003 06:48 PM


All times are GMT -5. The time now is 11:23 AM.

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