diff --git a/README.md b/README.md index 9bc0b97..fb0e671 100644 --- a/README.md +++ b/README.md @@ -1 +1,14 @@ -Bringing back container expiration notifs since 2024 \ No newline at end of file +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 +``` \ No newline at end of file diff --git a/enable-expire-notifs.sh b/enable-expire-notifs.sh index 7e509ea..bf16d49 100755 --- a/enable-expire-notifs.sh +++ b/enable-expire-notifs.sh @@ -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