#!/usr/bin/env sh domain="registry.serguzim.me" _install() { install --owner=root --group=root --mode=600 \ "$CERTIFICATES_PATH/$domain.$1" \ "/opt/services/harbor/server.$1" } _install crt _install key export HARBOR_BUNDLE_DIR=/opt/services/harbor $HARBOR_BUNDLE_DIR/harbor/install.sh # vim: ft=sh