aboutsummaryrefslogtreecommitdiff

ref/service

Setup service environment

Usage

source "$(script_dir ref)"; parse_args

Notes

  • Check Makefile for installation
  • Check SCRIPT_PATH=service path for paths
  • parse_args may have 0 or 1 arguments (if its a templated service)
  • CONF created by parse_conf from $(script_dir scope-conf)/${SERVICE_NAME}

Configuration

  • VARS: Space separated variables to pass to parse_conf

Dependencies

Executables must be available in PATH

  • script library