svc-pkg-sysrepo revision 2310
2310N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2310N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2310N/Aexport LD_LIBRARY_PATH
2310N/A /usr/lib/pkg.sysrepo \
2310N/A -c ${SYSREPO_CACHE_DIR} \
2310N/A -h ${SYSREPO_HOST} \
2310N/A -l ${SYSREPO_LOG_DIR} \
2310N/A -p ${SYSREPO_PORT} \
2310N/A -r ${SYSREPO_RUNTIME_DIR} \
2310N/A -s ${SYSREPO_CACHE_MAX} \
2310N/A -t ${SYSREPO_TEMPLATE_DIR}
2310N/A -P ${SYSREPO_CACHE_DIR}/../sysrepo_htcacheclean.pid \
2310N/A if [ -f ${SYSREPO_CACHE_DIR}/../sysrepo_htcacheclean.pid ]; then
2310N/A check_failure $? "Server failed to start. Check the SMF service log or the error log at ${SYSREPO_LOG_DIR}/error_log for more information, if any."
2310N/A check_failure $? "Server failed to refresh. Check the SMF service log or the error log at ${SYSREPO_LOG_DIR}/error_log for more information, if any."
2310N/A check_failure $? "Server failed to stop. Check the SMF service log or the error log at ${SYSREPO_LOG_DIR}/error_log for more information, if any."
2310N/Aexit $SMF_EXIT_OK