Add install instructions

This commit is contained in:
Cyber 2024-07-25 06:22:19 +00:00
parent b495eb0c69
commit 437cdf0456
2 changed files with 14 additions and 4 deletions

View File

@ -1 +1,14 @@
Bringing back container expiration notifs since 2024 Bringing back container expiration notifs since 2024
# Installation
Manual:
```
git clone https://git.ssh.surf/Cyber/container-expire-notifs /var/tools/container-expire-notifs
/var/tools/enable-expire-notifs.sh
```
Automated:
```
/enable-expire-notifs
```

View File

@ -13,9 +13,6 @@ if [[ hello -ne 200 ]]; then
exit 1 exit 1
fi fi
mkdir /var/tools/container-expire-notifs
cp /root/container-expire-notifs/notify.sh /var/tools/container-expire-notifs/notify.sh
echo $API_KEY > /var/tools/container-expire-notifs/.api-key echo $API_KEY > /var/tools/container-expire-notifs/.api-key
[ ! which at ] && sudo apt install at [ ! which at ] && sudo apt install at