Tripp Lite B092-016 Owner's Manual Page 187

  • Download
  • Add to my manuals
  • Print
  • Page
    / 242
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 186
187
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
re
read its configuration fil
e
.
1
5
.2 E
xternal
S
cripts
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/p
ortXX.init
(where XX is the numb
er 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
:
Page view 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 241 242

Comments to this Manuals

No comments