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:
parent
bd84a1c019
commit
8798428b62
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue