From a28a5ca6eef8b37330fa8c7992d3b0b9fe070f52 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 11 Jan 2025 13:08:04 +0100 Subject: [PATCH] fix: use actual names for files --- install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index f6e18e9..c5059e9 100644 --- a/install.sh +++ b/install.sh @@ -8,6 +8,8 @@ APP_VERSION="latest" # or specify a version S3_BUCKET="rust-artifacts" BINARY_NAME="churn" SERVICE_NAME="${APP_NAME}.service" +SERVICE_UPDATE_NAME="${APP_NAME}-update.service" +TIMER_UPDATE_NAME="${APP_NAME}-update.timer" INSTALL_DIR="/usr/local/bin" CONFIG_DIR="/etc/${APP_NAME}" CHURN_DISCOVERY="https://churn.prod.kjuulh.app" @@ -82,7 +84,7 @@ WantedBy=multi-user.target EOF echo "Creating churn update service..." -cat > "/etc/systemd/system/${SERVICE_NAME}-update" < "/etc/systemd/system/${SERVICE_UPDATE_NAME}" < "/etc/systemd/system/${SERVICE_NAME}-update.timer" < "/etc/systemd/system/${TIMER_UPDATE_NAME}" <