service restart
Peter Garrett
peter.garrett at optusnet.com.au
Fri Jul 28 01:54:47 UTC 2006
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.
Sometimes also has other options like reload or force-reload etc depending
on the service concerned.
Peter
More information about the ubuntu-users
mailing list