service restart
Peter Garrett
peter.garrett at optusnet.com.au
Fri Jul 28 13:27:46 UTC 2006
On Fri, 28 Jul 2006 09:31:23 -0300
Derek Broughton <news at pointerstop.ca> wrote:
> Peter Garrett wrote:
>
> > On Thu, 27 Jul 2006 21:19:13 -0400
> > Paul Kaplan <pkaplan1 at comcast.net> wrote:
> >
> >> What is the command line to start, stop or restart a specific service.
> >> On another distro I used:
> >> service <servicename> restart
> >> but "service" doesn't seem to be a command in kubuntu.
> >
> > Usually sudo /etc/init.d/<name-of-service> start | stop | restart
> > Or sudo invoke-rc.d <name-of-service> start | stop | restart
> >
> > which does the same thing.
>
> Since "service" seemed like such a clean way to do it, I created a symlink
> on my system for /usr/sbin/service -> invoke-rc.d
Derek, that's *way* too sensible ;-)
How are we going to maintain the mystique of *nix if everyone starts
thinking so logically ? *grin*
Peter
More information about the ubuntu-users
mailing list