servers/roles/alpine/files/unattended-upgrade

9 lines
127 B
Bash

#!/bin/sh
upgrade() {
echo "Starting upgrade on $(date)"
apk upgrade --update
}
upgrade >> /var/log/unattended-upgrade.log