5 command line options, Command line options – Campbell Scientific CSI Web Server for Linux Installation Guide User Manual
Page 13

CSI Web Server for Linux Installation Guide
4.5 Command Line Options
Advanced Linux administrators may have reasons to modify the provided init
scripts, create their own, or use other methods for launching the daemon. The
csiwebserver executable supports the following command line options:
--AppDir=path: Controls the location where the server will look for its
configuration file and will also control the default location of the web
server home directory as well as its log files. If this option is not
specified, the value will be read from the registry. If not specified in
the registry, it will default to /var/opt/CampbellSci/CsiWebServer.
--run-option=
will run within the console from which it was started. In this mode, it
will write its log events to the stdout device. This mode is very useful
for debugging and/or troubleshooting. Daemon is the default if the
run-option option is not specified on the command line and will make
the program run as a daemon. This will force the program to fork
(create another process) and then stop. The forked process will close
its stdio handles and then execute as a daemon.
9