From c4ba49d641660a81751135edc69642d87fc6f494 Mon Sep 17 00:00:00 2001 From: stkhan Date: Wed, 15 Mar 2023 11:39:10 -0500 Subject: Remove unused files --- gitpull.sh | 2 -- install.sh | 24 ------------------------ sui-cron | 2 -- 3 files changed, 28 deletions(-) delete mode 100644 gitpull.sh delete mode 100644 install.sh delete mode 100644 sui-cron diff --git a/gitpull.sh b/gitpull.sh deleted file mode 100644 index e72aacc..0000000 --- a/gitpull.sh +++ /dev/null @@ -1,2 +0,0 @@ -cd /var/www/html -git pull diff --git a/install.sh b/install.sh deleted file mode 100644 index 1c91950..0000000 --- a/install.sh +++ /dev/null @@ -1,24 +0,0 @@ -cd /var/www/html -git clone $GITURL sui -shopt -s dotglob -mv sui/* . -rm -rf sui -echo "pulled update" - -# Copy hello-cron file to the cron.d directory -cp sui-cron /etc/cron.d/sui-cron - -# Give execution rights on the cron job -chmod 0644 /etc/cron.d/sui-cron - -# set pull script permissions -chmod +x gitpull.sh - -# Apply cron job -crontab /etc/cron.d/sui-cron - -# Create the log file to be able to run tail -touch /var/log/cron.log - -# configure nginx -echo "daemon off;" >> /etc/nginx/nginx.conf diff --git a/sui-cron b/sui-cron deleted file mode 100644 index 65bc07d..0000000 --- a/sui-cron +++ /dev/null @@ -1,2 +0,0 @@ -*/1 * * * * /var/www/html/gitpull.sh >> /var/log/cron.log 2>&1 -# An empty line is required at the end of this file for a valid cron file. -- cgit v1.2.3