User Tools

Site Tools


docs:man:starting-stopping_particular_subsystems

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:man:starting-stopping_particular_subsystems [2008-10-20 20:34]
grizz initial - taken from old docs
docs:man:starting-stopping_particular_subsystems [2008-10-20 20:46] (current)
glen use service
Line 8: Line 8:
  
  
-<​file># ​/​etc/​rc.d/​init.d/​network+<​file># ​service ​network
 Usage: /​etc/​rc.d/​init.d/​network {start|stop|restart|status} Usage: /​etc/​rc.d/​init.d/​network {start|stop|restart|status}
 </​file>​ </​file>​
Line 16: Line 16:
  
  
-| start | runs the subsystem/​service |+| start | starts ​the subsystem/​service |
 | stop | stops the subsystem/​service | | stop | stops the subsystem/​service |
 | restart | restarts the subsystem/​service. Usually this is equivalent to start and stop, but in some cases it can be different. | | restart | restarts the subsystem/​service. Usually this is equivalent to start and stop, but in some cases it can be different. |
Line 23: Line 23:
  
  
-<​file>​[root@pldmachine root]# ​/​etc/​rc.d/​init.d/​network stop+<​file>​[root@pldmachine root]# ​service ​network stop
 Shutting down interface eth0.......................................[ DONE ] Shutting down interface eth0.......................................[ DONE ]
 Shutting down interface eth1.......................................[ DONE ] Shutting down interface eth1.......................................[ DONE ]
-[root@pldmachine root]# ​/​etc/​rc.d/​init.d/​network start+[root@pldmachine root]# ​service ​network start
 Setting network parameters.........................................[ DONE ] Setting network parameters.........................................[ DONE ]
 Bringing up interface eth0.........................................[ DONE ] Bringing up interface eth0.........................................[ DONE ]
Line 40: Line 40:
  
  
-<​file>#​ chkconfig: ​   2345 30 70>+<​file>#​ chkconfig: ​   2345 30 70
 </​file>​ </​file>​
 This tells rc-scripts to run the subsystem when entering runlevels 2, 3, 4, 5 (and respectively,​ to stop subsystem when leaving one of these runlevels). Numbers 30 and 70 are priority levels for start/stop. See chkconfig(8) for details. ​ This tells rc-scripts to run the subsystem when entering runlevels 2, 3, 4, 5 (and respectively,​ to stop subsystem when leaving one of these runlevels). Numbers 30 and 70 are priority levels for start/stop. See chkconfig(8) for details. ​
docs/man/starting-stopping_particular_subsystems.1224527645.txt.gz ยท Last modified: 2008-10-20 20:34 by grizz