Thanks for visiting! Don't forget to visit "Techno Blogs"

Dec 17

I’m always used to service command for starting, stopping and restarting services on my Linux boxes. Bit lazy to type in /etc/ini.d/<servicename>. When I use my laptop to work with services like apache, ftp etc I had to type the complete command earlier as I had not found an alternative or didn’t take trouble to find one.

All you have got to do is install any of these packages on your Ubuntu installation.

* debian-helper-scripts
* sysvconfig

And there you go!

Now you can use

service <anything> restart

PS: just replace <anything> with the daemon which needs to be restarted.

Its simple isn’t it?

Always there is an alternative way to do things, you just got to dig in a bit.