To change the behavior of TPISS, command line options can be used. They can be invoked by starting TPISS from a command line prompt with one or more of the following options added to the command.
Option | Description |
---|---|
-c <file> --config <file> |
Use a config file to configure TPISS. The full path to the config file must be specified. When no config file is defined, TPISS uses the default settings. |
-h --help |
Display help text and exit |
-l <file> --logfile <file> |
Specify a log file that will log TPISS output information. The filename for the log file is optional. |
-L <level> --loglevel <level> |
Define the log level: none, error, warning, info. When TPISS is started as service/daemon, the default log level is warning. When TPISS is started as application, the default log level is info. |
-t --configtest |
Perform a syntax test on the config file without actually executing it. Any warnings or errors will shown on the console. |
-v --version |
Show TPISS version information and exit. |
Windows service control options
When running TPISS as windows service, the options below apply. These options require elevation, TPISS will automatically elevate if started non elevated.
Option | Description |
---|---|
--service-install | Install the TPISS service |
--service-uninstall | Uninstall the TPISS service |
--service-startup <type> | Set the service start type (auto, auto-delayed, manual, disabled) |
--service-start | Start the TPISS service |
--service-stop | Stop the TPISS service |
--service-restart | Restart the TPISS service |
Linux specific options
When running TPISS in a Linux environment, the following options apply:
Option | Description |
---|---|
-d --daemonize |
Daemonize TPISS |
-g <group> --group <group> |
Run TPISS as group |
-P <file> --pidfile <file> |
Define pid file |
-u <user> --user <user> |
Run TPISS as user |