summaryrefslogtreecommitdiffstats
path: root/bin-security/boundary-bin/INSTALL
blob: 76d4debad4a1311b75653520ec2997d903ce09dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# /usr/bin is handled by smgl-fhs
install -vm 755 boundary "${INSTALL_ROOT}/usr/bin" &&

local config_dir="${INSTALL_ROOT}/etc/${SPELLX}" &&

if [ ! -d "${config_dir}" ]; then
  install -vm 750 -o root -g boundary -d "${config_dir}"
fi &&

install_config_file "${SPELL_DIRECTORY}/files/controller.hcl" \
                    "${config_dir}/controller.hcl" &&

install_config_file "${SPELL_DIRECTORY}/files/worker.hcl" \
                    "${config_dir}/worker.hcl" &&

chown root:boundary "${config_dir}/"*.hcl &&
chmod 0640 "${config_dir}/"*.hcl