Skip to content

Stopping the daemon

achbed edited this page Jan 31, 2015 · 5 revisions

Because we need the DeeFuzzer to be a very stable streaming process with multiple channel management, the multi-threaded implementation of DeeFuzzer instances avoids shutting down the main process with CTRL+C.

To stop an instance that you started directly on a command line, press CTRL+Z to break out of the process and pause it. You can then use the command kill %1 (or similar) to stop the process.

If you started the DeeFuzzer instance in another shell or session, you can use the command pkill -9 deefuzzer to stop the running instance. If you are running more than one instance and only want to kill an instance with a particular configuration, you can use pkill -9 -f "deefuzzer <configpath>" instead (replacing <configpath> with the path to the configuration file used by the instance you wish to target).

If you will be running DeeFuzzer as a service, you can consider installing the init scripts located in the scripts/etc and scripts/init.d folders in the repository. Once these are installed, you can then use sudo service deefuzzer start and sudo service deefuzzer stop to start and stop the service. If you use the init scripts to install DeeFuzzer as a daemon, note that the above pkill commands may also affect the service instance of DeeFuzzer as well as any started manually.