Changes

From SME Server
Jump to navigationJump to search
Line 145: Line 145:  
  config set '''YOUR_SERVICE_NAME''' service status enabled
 
  config set '''YOUR_SERVICE_NAME''' service status enabled
   −
* IF your init script is not ALREADY in etc/rc.d/init.d you can do a link to you the init script
+
:* IF your init script is not ALREADY in etc/rc.d/init.d you can do a link to you the init script
 
  cd /etc/rc.d/init.d
 
  cd /etc/rc.d/init.d
 
  ln -s /path/to/myinitscript '''YOUR_SERVICE_NAME'''
 
  ln -s /path/to/myinitscript '''YOUR_SERVICE_NAME'''
Line 151: Line 151:  
'''We are creating a symlink of the original startup script with a new name (the point is that '''YOUR_SERVICE_NAME''' must be identical to the service name above)'''
 
'''We are creating a symlink of the original startup script with a new name (the point is that '''YOUR_SERVICE_NAME''' must be identical to the service name above)'''
   −
then in /etc/rc7.d we do a link to the wrapper e-smith-service
+
* In /etc/rc7.d we do a link to the wrapper e-smith-service
    
  cd /etc/rc7.d
 
  cd /etc/rc7.d

Navigation menu