Service Startup: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
New page: To enable a service at startup. <pre> chkconfig <service name> on </pre> An alternativce method to above. <pre> chkconfig --levels 2345 <servce name> on </pre> To list if a service is en...
 
No edit summary
 
Line 6: Line 6:
An alternativce method to above.
An alternativce method to above.
<pre>
<pre>
chkconfig --levels 2345 <servce name> on
chkconfig --levels 2345 <service name> on
</pre>
</pre>


To list if a service is enabled for startup.
To list if a service is enabled for startup.
<pre>
<pre>
chkconfig --list <servce name>
chkconfig --list <service name>
</pre>
</pre>


[[Category : Linux]]
[[Category : Linux]]

Latest revision as of 05:02, 20 September 2008

To enable a service at startup.

chkconfig <service name> on

An alternativce method to above.

chkconfig --levels 2345 <service name> on

To list if a service is enabled for startup.

chkconfig --list <service name>