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

About Chris Gralike

Momenteel ben ik manager van de afdeling business continuity bij de zakelijke IT dienstverlener AMIS Services BV. Sinds 2003 ben ik actief in de ICT branche. Tussen 2003 en nu heb ik verschillende rollen vervuld. In de rollen: systeem- en netwerkbeheer, system engineer, servicemanager en nu practice manager ben ik in contact gekomen met uiteenlopende technologieën, methodologieën, ideeën, oplossingen en innovaties. Een rijke ervaring waarmee ik de klanten van Conclusion en AMIS elke dag probeer te ondersteunen. Mijn credo: 'Altijd opzoek een win-win tussen business en technologie.'

Posted on December 18, 2008, in Linux and tagged , , , , , , , . Bookmark the permalink. 1 Comment.

  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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: