Changes

Jump to navigation Jump to search
Line 111: Line 111:  
  chmod u+x /etc/rc.d/init.d/YOUR_SERVICE_NAME
 
  chmod u+x /etc/rc.d/init.d/YOUR_SERVICE_NAME
   −
You have to say to SME Server to add that script to each run level you have specified at the top of your init script( Default-Start: 2 3 4 5 and Default-Stop: 0 1 6 ). For Linux using rpm as centos or redhat, you can use
+
You need to say to SME Server to add the script to each run level you have specified at the top of your init script( Default-Start: 2 3 4 5 and Default-Stop: 0 1 6 ). For Linux using rpm as centos or redhat, you can use
    
  chkconfig YOUR_SERVICE_NAME --add
 
  chkconfig YOUR_SERVICE_NAME --add
   −
if you want to see which level you start the script
+
If you want to see which runlevel your script will run in
    
  chkconfig YOUR_SERVICE_NAME --list
 
  chkconfig YOUR_SERVICE_NAME --list
Line 124: Line 124:       −
However it is not enough for SME server since we have to add service to rc7.d and to say to our distro to start that service at boot, therefore let's go to the section below
+
However it is not enough for SME server since we have to add service to rc7.d and to say to our distro to start the service at boot, therefore let's go to the section below
     

Navigation menu