LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Making a service as a system service (https://www.linuxquestions.org/questions/suse-opensuse-60/making-a-service-as-a-system-service-342734/)

Dakkar 07-13-2005 04:37 AM

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

Sohni 07-13-2005 07:12 AM

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.

abisko00 07-13-2005 07:36 AM

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.


All times are GMT -5. The time now is 06:45 PM.