...
Browse to /etc/init.d/ and copy an existing script (say snmpMA.sh) to ps-universal.sh. That init script would be responsible for starting up a single instance of the daemon that handle all the services. Open the script and modify the TOOL_EXE to be something like:
Wiki Markup |
---|
{align:left}{code:title=/etc/init.d/ps-universal.sh}TOOL_EXE="perl \-I /usr/local/perfSONAR-PS/perfSONAR_PS-PingER/lib \-I /usr/local/perfSONAR-PS/perfSONAR_PS-perfSONARBUOY/lib \-I /usr/local/perfSONAR-PS/perfSONAR_PS-SNMPMA/lib \-I /usr/local/perfSONAR-PS/perfSONAR_PS-LookupService/lib /usr/local/perfSONAR-PS/Shared/scripts/perfsonar-daemon.pl" {code}{align} |
Code Block |
---|
{align}Also change TOOL_CONF and TOOL_LOGGER to tell the init script to point to the "combined.conf" and "combined_logger.conf" files. |
...
{code | ||
:title | =/etc/init.d/ps-universal.sh | }TOOL_CONF=${CONF_PREFIX}/combined.conf
TOOL_LOGGER=${CONF_PREFIX}/combined_logger.conf
|
...