diff options
| author | stkhan <khan@slickd.xyz> | 2023-03-15 11:39:10 -0500 |
|---|---|---|
| committer | stkhan <khan@slickd.xyz> | 2023-03-15 11:39:10 -0500 |
| commit | c4ba49d641660a81751135edc69642d87fc6f494 (patch) | |
| tree | 71f66ce6b85709dfcdf6de5f19d0a834ebbe5cb5 | |
| parent | f3097d8be1f9c9959370fe55fdf0032475e7719a (diff) | |
Remove unused files
| -rw-r--r-- | gitpull.sh | 2 | ||||
| -rw-r--r-- | install.sh | 24 | ||||
| -rw-r--r-- | sui-cron | 2 |
3 files changed, 0 insertions, 28 deletions
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. |