Skip to content

Commit

Permalink
keep everything up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Mar 30, 2024
1 parent 5f060c0 commit 11f100c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ read -r -d '' DEPENDS <<- DEPENDS
--depends php8.3-xml
--depends software-properties-common
--depends sudo
--depends cron
--depends supervisor
--depends telegraf
DEPENDS
Expand Down
12 changes: 12 additions & 0 deletions root/etc/cron.daily/apt-upgrade
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# Keep everything up to date!
# This crontab is part of the notifiarr-worker package.

DEBIAN_FRONTEND=noninteractive
LOGDIR="/var/log/apt-output"

mkdir -p "${LOGDIR}"

/usr/bin/apt update > "${LOGDIR}/update.log" 2>&1
/usr/bin/apt upgrade -y > "${LOGDIR}/upgrade.log" 2>&1

0 comments on commit 11f100c

Please sign in to comment.