[aklug] Re: Disabling and Enabling daemons (services) in Ubuntu

From: Marc Grober <marc@interak.com>
Date: Mon Mar 01 2010 - 07:36:09 AKST

This explains some of the transitioning:
http://www.linux.com/archive/feature/125977?theme=print

On Feb 28, 2010, at 11:02 PM, Tim Gibney <timgibney76@gmail.com> wrote:

> How do you renable it? I tried using update-rc.d and it complained
> about using headers and putting a K or S infront of the daemon name.
> There was a program in older versions of ubuntu called "services" but
> i have a feeling its not compatible because Ubuntu no longer uses
> Sysvinit. I can look it up and just rename the programs in /etc/rc.2
> or where the runlevel program names are stored.
>
>
> On Sun, Feb 28, 2010 at 8:27 PM, Joshua J. Kugler <joshua@eeinternet.com
> > w=
> rote:
>> On Sunday 28 February 2010, Tim Gibney elucidated thus:
>>> I just installed PostgreSQL on Ubuntu so I can learn some SQL
>>> programming.
>>>
>>> I also want to install Mysql as well so I can try them both. After
>>> postgreSQL and apache I went to /etc/inetd.conf only to find it
>>> empty. I then remembered reading an article on www.slashdot.org
>>> about
>>> Ubuntu, Apple, and Sun all ditching Inetd for a more modern event
>>> driven way to bootstrap a modern system.
>>>
>>> Ubuntu breaks traditional Unix which uses something called upstart.
>>> This is quite a bit of a change for me from FreeBSD where you simply
>>> vi into /etc/intetd.conf and remark the daemons you do not want to
>>> startup. I am aware SysV Unix such as Linux instead uses rc
>>> runlevels
>>> and I completely forgot this.
>>>
>>> I googled upstart and found technical usage and howtos to run
>>> complex
>>> event driven scripts using Dbus. I do not want to go this route and
>>> make my computer unbootable by a single mistake in a script. I
>>> simply
>>> want to just enable or disable startup daemons.
>>>
>>> Is there a way to simply disable and re-enable a daemon with upstart
>>> on ubuntu by just using a single command or gui?
>>
>> I believe this command still works:
>>
>> update-rc.d -f <service_name> remove
>>
>> j
>>
>> --
>> Joshua Kugler
>> Part-Time System Admin/Programmer
>> http://www.eeinternet.com
>> PGP Key: http://pgp.mit.edu/ =A0ID 0x14EA086E
>> ---------
>> To unsubscribe, send email to <aklug-request@aklug.org>
>> with 'unsubscribe' in the message body.
>>
>>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Mar 1 07:36:28 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 01 2010 - 07:36:29 AKST