Compare commits

..

No commits in common. "f91f63dddee06456aa7872b96d8411d90396b546" and "7f2a5238c6c7b84b640bc4de53589ed618fabe95" have entirely different histories.

2 changed files with 2 additions and 11 deletions

View File

@ -1,6 +1,6 @@
export AWS_PROFILE=default
DOMAIN="pfy.ch"
declare -a SUB_DOMAINS=("home" "git" "zip" "ente" "mastodon" "chat")
declare -a SUB_DOMAINS=("home" "git" "zip" "ente" "mastodon")
# Scripts
CURRENT_IP=`dig @resolver4.opendns.com myip.opendns.com +short`

View File

@ -9,7 +9,6 @@ SEED_COUNT=$(curl --request GET \
--silent \
--url "$API_URL" \
--header "X-API-Key: $API_KEY" \
--header "Cache-Control: no-cache" \
| jq ".response.community.seeding")
if [ "$SEED_COUNT" = "null" ]; then
@ -20,8 +19,6 @@ if [ "$SEED_COUNT" = "null" ]; then
-c "torrent" \
-m "Seeding has paused!"
/usr/local/bin/docker restart $(/usr/local/bin/docker ps | grep deluge | cut -d' ' -f1)
fi;
SAVED_TIME=$(cat /tmp/seed-timestamp.txt)
@ -35,11 +32,5 @@ if [ "$SEED_COUNT" = "null" ]; then
-m "Seeding is still paused!"
fi
else
if [ -f /tmp/seed-timestamp.txt ]; then
/Users/noahheague/.config/scripts/util/webhook.sh \
-c "torrent" \
-m "Seeding has been fixed!"
rm /tmp/seed-timestamp.txt 2> /dev/null || true
fi
rm /tmp/seed-timestamp.txt 2> /dev/null || true
fi