Changes

From SME Server
Jump to navigationJump to search
206 bytes added ,  23:34, 11 November 2014
Line 206: Line 206:     
=== General Service Handling ===
 
=== General Service Handling ===
 +
SME Server uses [http://smarden.org/runit/ runit], a UNIX init scheme with service supervision. See the man page of [http://smarden.org/runit/sv.8.html the 'sv' command]
 +
 +
All other linux common way to start or stop services are also valuable
 +
 +
/etc/init.d/servicename start/stop/status
 +
service servicename start/stop/status
    
*start
 
*start
Line 213: Line 219:  
*restart
 
*restart
 
  sv t /service/servicename
 
  sv t /service/servicename
 
+
* status
 +
sv s /service/servicename
 
{{tip box|you may use TAB to auto-complete your command line}}
 
{{tip box|you may use TAB to auto-complete your command line}}
   −
All other linux common way to start or stop services are also valuable
     −
/etc/init.d/servicename start/stop/status
  −
service servicename start/stop/status
      
====Example====  
 
====Example====  
Line 226: Line 230:     
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith
   
[[category:developer]]
 
[[category:developer]]

Navigation menu