Files
casa/scripts/auto-update.sh
Márcio Fernandes 327f0c1626
All checks were successful
deploy / deploy (push) Successful in 3s
nginx added to portainer stack
2024-08-25 12:44:27 +01:00

15 lines
236 B
Bash
Executable File

#!/bin/bash
scriptPath="$(dirname "$(readlink -f "$0")")"
doWork(){
apt update -y
apt upgrade -y
# $scriptPath/../services/nginx/docker-run.sh
# docker image prune -f
}
doWork 2>&1 | logger -s -t "auto-update"
exit 0