Tripp Lite 93-2879 Server User Manual


 
_____________________________________________________________________
B096-016 B096-048 and B092-016 User Manual Page 171
Portmanager Daemon
Command line options
There is normally no need to stop and restart the daemon. To restart the daemon, just run the
command:
# portmanager
Supported command line options are:
Force portmanager to run in the foreground:
--nodaemon
Set the level of debug logging:
--loglevel={debug,info,warn,error,alert}
Change which configuration file it uses:
-c /etc/config/portmanager.conf
Signals
Sending a SIGHUP signal to the portmanager will cause it to reread its configuration file
15.2 External Scripts and Alerts
The portmanager has the ability to execute external scripts on certain events. These events are:
I. When a port is opened by the portmanager:
When the portmanager opens a port, it attempts to execute /etc/config/scripts/portXX.init
(where XX is the number of the port, e.g. 08). The script is run with STDIN and STDOUT both
connected to the serial port.
If the script cannot be executed, then portmanager will execute
/etc/config/scripts/portXX.chat via the chat command on the serial port.
II. When an alert occurs on a port: