...
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:mode|class=left}
{code:title= | ||
Code Block | ||
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} |
Also change TOOL_CONF and TOOL_LOGGER to tell the init script to point to the "combined.conf" and "combined_logger.conf" files.
...