A quick way to stop or start a particular process running as a system daemon on your Ubuntu box is to make use of the start-stop-daemon command.
Usage is broken down into first providing a command, be it –start, –stop or –help, followed by a matching option which points it at what to throw that command at.
In terms of matching options available, you can search for a daemon based on –name (process name), –user (username|uid), –exec (matches executable file names) or –pidfile (pid-file match).
So for example, should you wish to stop your subversion daemon, simply enter
start-stop-daemon –stop –name svnserve
Nifty.
Related Link: http://manpages.ubuntu.com/manpages/hardy/man8/start-stop-daemon.8.html
You might also enjoy:
-
To stop a MySQL server instance on an Ubuntu linux install via the command line is as simple as entering: sudo /etc/init.d/mysql stop Alternatively, to st ...
-
MySQL gets installed with a default root account under the username "root". Sometimes the system will allow you to install a root account without a password ...
-
SMS Server Tools 3 or SMS3 is a great piece of SMS Gateway open source software that allows you to send and receive short SMS messages through any number of ...
-
I've had to do more work on one of our Ubuntu servers again recently, and without Ubuntu's incredible GUI to fall back on, I'm seriously shocked at just how ...
-
Certain user accounts on a Linux system are create with the intention to be used exclusively by some or other service or application. So in order to stop an ...