1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

install.sh: fix config path

This commit is contained in:
Henrik Hautakoski 2023-04-26 12:12:22 +02:00
parent bd84a1c019
commit 8798428b62

View file

@ -12,8 +12,8 @@ echo "Installing application in: $INSTALL_DIR"
mkdir -p "$INSTALL_DIR"/{bin,logs}
install -m 750 -t "${INSTALL_DIR}/bin" build/thalos-server
if [ ! -f "${INSTALL_DIR}/config.json" ]; then
install -T -m 600 config.example.json "${INSTALL_DIR}/config.json"
if [ ! -f "${INSTALL_DIR}/config.yml" ]; then
install -T -m 600 config.example.yml "${INSTALL_DIR}/config.yml"
fi
install -m 750 -t "${INSTALL_DIR}" scripts/start.sh scripts/stop.sh