Changes

From SME Server
Jump to navigationJump to search
Line 2: Line 2:     
If you want to start a custom service on the SME Server, you will have to follow some steps.
 
If you want to start a custom service on the SME Server, you will have to follow some steps.
The init script below is just a wrapper, a launcher that will start the real script which will do the job for you (see SCRIPT=<COMMAND>). Of course the init script is here only if you want add a service by hand not installed by a rpm.
+
The init script below is just a wrapper, a launcher that will start the real script which will do the job for you (see SCRIPT=<COMMAND> to give the path to your job script). Of course the init script is here only if you want to add a service by hand and thus not installed by a rpm.<br />
In that case of you have installed a service which comes from a rpm but without init script in the runlevel 7 you have to follow from the chapter
+
 
 +
In that case of you have installed a service which comes from a rpm but without init script in the runlevel 7 you have to follow from this  [[Add_a_custom_service#allow_a_service_to_start_for_a_particular_time |section]]
 +
 
 
add a script to /etc/rc.d/init.d like the script below
 
add a script to /etc/rc.d/init.d like the script below
  

Navigation menu