chkconfig in Ubuntu

2

1

I using Ubuntu 12.04.1
From Red Hat I know command chkconfig which in very easy way for set startup mode of services.
In same easy way as it is in Windows (services.msc).
Unfortunately in Ubuntu this utility don't exists...
I admitted that services which I just stopped with:

service service-name stop

don't wake up after reboot... But this is inappropriate way to manage services' startup mode comparing to most platforms.
Have we some more standard way?

Rodnower

Posted 2012-10-20T12:16:10.607

Reputation: 1 739

you are telling that in Ubuntu chkconfig is not available right? – max – 2012-10-20T13:15:31.847

I just supposed that fact that it not installed point to incompatibility of this tool with Ubuntu. I supposed that maybe init.d archetecture of Ubuntu different from other distributions... But if you say that it is compatible, so it make me happy. Sure, I will install this tool. – Rodnower – 2012-10-20T13:35:13.770

Answers

1

This is ubuntu only

And I am using Ubuntu 12.04

enter image description here

If it is not there then try this command to install

root@localhost:~# apt-get install chkconfig

max

Posted 2012-10-20T12:16:10.607

Reputation: 3 329

Wonderful, as I said I just was worried that it is incompatible. But now after you said that Ubuntu working fine with it, I installed it. I really happy that this tool availible in Ubuntu :) Thanx for response. – Rodnower – 2012-10-20T13:37:31.940

@Rodnower sometimes it happens...:-) thank you.... – max – 2012-10-20T13:39:36.210

1

This post at AskUbuntu is quite complete description of starting, stopping and configuring services: What's the recommended way to enable / disable services?

Fholst

Posted 2012-10-20T12:16:10.607

Reputation: 11

Hi, wecome to Superuser. Here, it's usual to summarize helpful details from an external source instead of just linking it. – Isaac Rabinovitch – 2012-10-21T18:27:01.563

Ah, OK. Thanks for clarifying. Just learning to get around in this community. – Fholst – 2012-10-21T21:58:45.743

0

Since Ubuntu 12.10 abandoned chkconfig, https://askubuntu.com/questions/221293/why-is-chkconfig-no-longer-available-in-ubuntu suggests the use of sysv-rc-conf as an alternative.

K7AAY

Posted 2012-10-20T12:16:10.607

Reputation: 6 962