Skip to content

RESTART PROGRAM

Command Format

RESTART_PROGRAM

Description

Restarts the Naemon process.

Shell Script Usage Example

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

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