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 |
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. |
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. |