cScm Configuration Daemon

cScm – is a tool to convert SCM configuration files into binary format and store its in shared memory for reading by cSvn-ui and cGit-ui CGI scripts

12 Commits   0 Branches   1 Tag
.\"
.TH "CSCMD" 8 "2022-02-19" "cScm Configuration Daemon" "cscmd"

.SH "NAME"
\fBcscmd\fR \- cScm Configurations Daemon

.SH "SYNOPSIS"
.PP
\fB\fBcscmd\fR [\fBOPTIONS\fR]\fR \fB\-\-scm\fR=[\fIsvn\fR|\fIgit\fR]

.SH "SUMMARY"
\fBcscmd\fR should be run at boot time by \fI@sysconfdir@/rc.d/rc.csvnd\fR or \fI@sysconfdir@/rc.d/rc.cgitd\fR.
This daemon read the config file \fI@sysconfdir@/csvn-ui.rc\fR or \fI@sysconfdir@/cgit-ui.rc\fR (depends on \fB\-\-scm\fR option)
and convert it to binary (see \fI@includedir@/cscm/bcf.h\fR) form for cSvn or cGit CGI scripts.


.SH "OPTIONS"

.TP
\fB-h\fR,\fB--help\fR
Display help information.

.TP
\fB-v\fR,\fB--version\fR
Display the version of \fBcscm\fR daemon.

.TP
\fB-d\fR,\fB--daemonize\fR
Run in background as a daemon.

.TP
\fB-i\fR,\fB--inotify\fR
Notify about configuration changes. If this option is set then \fBcscmd\fR daemon selects changes made
in \fI@sysconfdir@/csvn-ui.rc\fR or \fI@sysconfdir@/cgit-ui.rc\fR config file and reread configuration when changes is done.
Without this option rereading configuration file can be done by sending \fB-HUP\fR to the \fBcscmd\fR daemon.

.TP
\fB-b\fR,\fB--bcf\fR=\fB<BCF_FILE>\fR
Binary config file (depends on \fB\-\-scm\fR option). Default: \fI@CSCM_HOME_PATH@/csvn/csvn.bcf\fR.

.TP
\fB-c\fR,\fB--config\fR=\fB<CONFIG_FILE>\fR
Config file (depends on \fB\-\-scm\fR option). Default: \fI@sysconfdir@/csvn-ui.rc\fR.

.TP
\fB-l\fR,\fB--log\fR=\fB<LOG_FILE>\fR
Log file (depends on \fB\-\-scm\fR option). Default: \fI@CSCM_LOG_DIR@/csvnd.log\fR.

.TP
\fB-p\fR,\fB--pid\fR=\fB<PID_FILE>\fR
Log file (depends on \fB\-\-scm\fR option). Default: \fI@CSCM_PID_DIR@/csvnd.pid\fR.

.TP
\fB-s\fR,\fB--scm\fR=\fB[svn|git]\fR
SCM engine name: \fIsvn\fR or \fIgit\fR. Default: \fIsvn\fR.

.TP
\fB-t\fR,\fB--test\fR
Test the config file and exit.


.SH "SEE ALSO"
.BR csvn-ui.rc(5),
.BR cgit-ui.rc(5)