See Also: Verifying Your Configuration
There’s more than one way to start, reload, stop, and restart Naemon.
Here are some of the more common ones.
Reloading Naemon
The most common scenario will probably be to reload Naemon after changes of Naemon configuration. You don’t need to restart Naemon after you added new hosts, commands and services. Simply reload the configuration.
- Init script:
Most distributions supports service <servicename> reload command, simply enter
service naemon reload
or
/etc/init.d/naemon reload
- Manually:
You can reload the Naemon process by sending it a SIGHUP signal like so:
kill -HUP <naemon_pid>
Starting Naemon
- Init Script:
The easiest way to start the Naemon daemon is by using the init script like so:
service naemon start
or
/etc/init.d/naemon start
- Manually:
You can start the Naemon daemon manually with the -d command line option like so:
/usr/bin/naemon -d /etc/naemon/naemon.cfg
Restarting Naemon
Restarting/reloading is necessary when you modify your configuration files and want those changes to take effect.
- Init Script:
The easiest way to restart the Naemon daemon is by using the init script like so:
service naemon restart
or
/etc/init.d/naemon restart
- Web Interface:
You can restart the Naemon through the web interface by clicking the
“Process Info” navigation link and selecting “Restart the Backend process”:
Stopping Naemon
- Init Script:
The easiest way to stop the Naemon daemon is by using the init script like so:
service naemon stop
or
/etc/init.d/naemon stop
- Web Interface:
You can stop the Naemon through the web interface by clicking the “Process Info” navigation
link and selecting “Shutdown the Backend process”:
- Manually:
You can stop the Naemon process by sending it a SIGTERM signal like so:
kill <naemon_pid>