#!/bin/bash

# init function for the QCG-Computing service publisher

QCG_COMP_URL=${QCG_COMP_URL:-`cat /var/run/qcg/qcg-comp/qcg-compd.addr`}

QCG_COMP_PID_FILE=${QCG_COMP_PID_FILE:-/var/run/qcg/qcg-comp/qcg-compd.pid}

# Write to stdout - will be imported by the info provider

echo QCG_COMP_URL=$QCG_COMP_URL
echo QCG_COMP_PID_FILE=$QCG_COMP_PID_FILE

