bifernoctl — The biferno control program
bifernoctl { start | stop | restart | reload | flush | version }
bifernoctl
-s
[ start | stop ]
The bifernoctl is a front end to the bifernod daemon that allows the system administrator to control the Biferno daemon subsystem. The Biferno daemon subsystem consists of two processes, the bifernod Biferno language interpreter, and the bifernoctl process itself, which runs in the background monitoring the bifernod daemon and will restart it automatically if necessary. The bifernoctl command provides an administration interface for both processes (see Options). bifernoctl returns 0 (zero) if it could successfully complete its operation, a positive integer otherwise.
When invoked without options, bifernoctl
applies the command provided on the command line
to the bifernod daemon. The start,
stop, restart, reload,
and flush commands are supported.
startStarts bifernod.
stopStops bifernod.
restart
Restarts bifernod. This is equivalent to a
stop (if bifernod is running),
followed by a start.
reloadReloads bifernod. The effect of a reload is described in the Biferno user guide.
flushFlushes the bifernod cache.
versionPrint the version of the bifernod program and exit.
-s
When invoked simply with the -s option and no other
arguments on the command line, bifernoctl will start a
copy of itself to run in the background as a sentinel process monitoring
the health of the bifernod and restarting it
automatically if necessary.
One of the following commands can follow the -s option:
start
Starts bifernoctl as a sentinel process. Same as
-s with no command.
stopStops the bifernoctl sentinel process.