ProLinga-Repository Project |
---|
prolingarepd — Repository Web Service daemon
prolingarepd
prolingarepd
--version
The prolingarepd program can be called from the command line without any arguments. The program will then initialize and run as a daemon in memory waiting for Repository Command requests to arrive. Since the process is a fork, the prompt will return. Programs like prolingarepclient can now be used to send requests to this Web Service. prolingarepd will get the information as hostname and TCP portnumber where the service needs to bind to from the configuration file etc/prolingarepcfg.xml.
Before running the prolingarepd for the first time, a Repository needs to be present. A Repository can be created using prolingarepcreate. After running for the first time files starting with "__" will be created in the Repository database directory. You may need chown/chgrp on these files to allow prolingarepexec to access the Repository as a different user than the user starting up the Web Service (= most likely root).
An example automatic Repository startup script for Linux is available as
file prolingarepd.init
. This file can be copied and renamed to
/etc/rc.d/init.d/prolingarepd
and initialized using /sbin/chkconfig.
Make sure all paths are correct in this file.
The Web Service can then be started as /etc/rc.d/init.d/prolingarepd
start
. To stop the
argument stop
can be used.
You need to have root access for this. The binary rpm installation will perform
all these steps automatically.
<< prolingarepcreate | prolingarepexec >> |