Type "siteforum -h" in a UNIX shell to obtain a full explanation of all the SITEFORUM commands available to you in a UNIX environment.
siteforum -h
/opt/siteforum-v3.0.0/start.sh -h
/opt/siteforum-v3.0.0, Build No.: 487
Usage:
/opt/siteforum-v3.0.0/start.sh [<options>] [<actions>]
Where options include:
| -C | do not remove backup flag files (for internal use) |
| -d | set arguments as defaults |
| -i | start Siteforum with internal Web server |
| -M | do not start mySQL server |
| -P | do not start postgres server |
| -h | print this help message |
| -s | be a little bit silent |
And actions include:
| backup [<target-dir>] | make a hot backup (data files only) |
| <target-dir> | uses <target-dir> as temp dir creates <target-dir>.tar.gz |
| hostname <hostname> | the hostname used by apache |
| laccounts [vi] | tail or vi the server's accounts.log |
| lagents [vi] | dump or vi the user-agents statistic |
| lhttpd [vi] | tail or vi the http daemons error log |
| ljserv [vi] | tail or vi JServ's error log |
| lstderr [vi] | tail or vi the server's stderr.log |
| lstdout [vi] | tail or vi the server's stdout.log |
| ports <a-i-j-m-p-s> | ports to use Apache, internal, Tomcat, MySQL, Postgres, SSL |
| question <what> | get an answer to your question |
| <what> | a combination of build-number?, down-apache?, down-internal?, down-mysql?, down-postgres?, instances-running?, up?, up-apache?, up-internal?, up-mysql?, up-postgres?, down?, ports?, hostname? |
| restart | restart the server |
| rmlog [<m>] | delete logs older than m months |
| shellm [<options>] | open MySQL SQL shell |
| <options> | will be passed to the MySQL shell |
| shellp [<options>] | open Postgres SQL shell |
| <options> | will be passed to the Postgres shell |
| start [<what>] | start the server |
| <what> | a combination of Apache, internal, MySQL, Postgres |
| status [vi] | dump or vi the server status |
| stop [<what>] | stop the server |
| <what> | a combination of Apache, internal, MySQL, Postgres |
