External Command Reference

External Commands Reference - RESTART_PROCESS

Command Format:

RESTART_PROCESS;

Description:

Restarts the Naemon process.

Shell Script Usage Example:

#!/bin/sh
# This is a sample shell script showing how you can submit the RESTART_PROCESS command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] RESTART_PROCESS;\n" `date +%s` > /var/lib/naemon/naemon.cmd