Memo : Add a linux system service to the “boot” or init.tab

Just one of those thing I want to remember,

Show system services and the runlevel in which they are supposed to start…
chkconfig -list | less

Alter system services
chkconfig –level [runlevels] [servicename] [state on|off]
i.e.
chkconfig –level 2345 xntpd on

Advertisements

One thought on “Memo : Add a linux system service to the “boot” or init.tab

  1. Make a backup of the current configuration…
    chkconfig -s > ~root/chkconfig.save

    Restore a previous configuration (of backupped)
    chkconfig -s < ~root/chkconfig.save

    Files & Locations.
    /etc/init.d/
    /etc/inetd.d/
    /etc/xinetd.d/
    /etc/inittab

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s