Add notes on 3rd party app update
This commit is contained in:
parent
5431f76712
commit
6afc2779f2
|
@ -12,5 +12,14 @@ nano -w /etc/apt/apt.conf.d/50unattended-upgrades
|
||||||
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
|
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
|
||||||
nano -w /etc/apt/apt.conf.d/20auto-upgrades
|
nano -w /etc/apt/apt.conf.d/20auto-upgrades
|
||||||
unattended-upgrades --dry-run --debug
|
unattended-upgrades --dry-run --debug
|
||||||
|
cat > /usr/local/bin/3rd_party_app_updates.sh <<EOF
|
||||||
|
#!/bin/bash
|
||||||
|
curl -fsSL https://filebrowser.org/get.sh | bash
|
||||||
|
restic self-update
|
||||||
|
curl https://rclone.org/install.sh | bash
|
||||||
|
EOF
|
||||||
|
chmod a+x /usr/local/bin/3rd_party_app_updates.sh
|
||||||
|
crontab -e
|
||||||
|
0 7 14 * * /usr/local/bin/3rd_party_app_updates.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue