Add install instructions
This commit is contained in:
parent
b495eb0c69
commit
437cdf0456
13
README.md
13
README.md
@ -1 +1,14 @@
|
||||
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
|
||||
```
|
@ -13,9 +13,6 @@ if [[ hello -ne 200 ]]; then
|
||||
exit 1
|
||||
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
|
||||
|
||||
[ ! which at ] && sudo apt install at
|
||||
|
Loading…
Reference in New Issue
Block a user