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}" <