From 93e1b671ab35c421ae5fbbf61a7c78cddccff0b8 Mon Sep 17 00:00:00 2001 From: Shant Tchatalbachian <10482171+0mniteck@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:18:43 -0700 Subject: [PATCH] Create auto-update-cron.sh --- auto-update-cron.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 auto-update-cron.sh diff --git a/auto-update-cron.sh b/auto-update-cron.sh new file mode 100644 index 0000000..e300eb4 --- /dev/null +++ b/auto-update-cron.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Script to add a cron job to check for and download the most recent version from this git repo + +# Runs cron job if exists otherwise creates cron job + + +# Cron job +# Get current version installed if installed otherwise stop + +# Check this git repo for most recent version if newer release download to /tmp otherwise stop + +# Stop any running instances of signal-desktop + +# Install and restart if instance was runnning