[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian equivalent to service?



On Sun, Feb 05, 2006 at 01:37:40PM -0800, Rob Blomquist wrote:
> Under RH, to type "service sensord restart" will kill and restart sensord.
> 
> I can't find an equivalent command. Is there one? Otherwise, how to I kill and 
> restart a service? Can I find a list of running services, the same as 
> "service -s"?
> 
> Rob
> 
Hi Rob,
on debian there are a few redhatism that have not been created: this is
one of them. here are a few:
1) rh has runlevels with special meanings, debian makes 2-5 the same
with 2 being the default with no special network/x/etc meaning
2) no 'service ....'instead we use /etc/init.d/service start/stop/restart
and AFAICT no 'status'
3) no tool like the runlevel/services editor in rh. the tools are there
but they dont do it the rh way
there are more.
cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: