service restart

rpowersau at gmail.com rpowersau at gmail.com
Fri Jul 28 06:23:23 UTC 2006


On 7/28/06, Ouattara Oumar Aziz <wattazoum at gmail.com> 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.
> > TIA
> > Paul
> >
> It's been twice in a month that someone asks for that script. Do ubuntu
> intend to provide it?


They do provide it, it just has a different name. It's called /etc/init.d/

/etc/init.d/<servicename> restart
service <servicename> restart

:)


Paul > I took mandriva service script and put it on Ubuntu, it runs
> well. uncompress the service.tar.gz , run ./install to install and
> ./uninstall to uninstall. It will install the script in /usr/local/bin.
> service is bash_completion compliant.
>
> Cheers
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
>


-- 
Regards,
Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060728/eea84a6a/attachment.html>


More information about the ubuntu-users mailing list