autoupdates

This commit is contained in:
2026-07-30 14:18:40 +02:00
parent ebd3cf4709
commit 0e178e81f2
5 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
Description=Run nightly server rsync backup
[Timer]
OnCalendar=*-*-* 02:00:00
OnCalendar=*-*-* 00:00:00
Persistent=true
[Install]
+7
View File
@@ -0,0 +1,7 @@
[Unit]
Descript=Nightly update of the server apt packages and docker images. Also restart all the docker images.
After=local-fs.target
[Service]
Type=oneshot
ExecStart=/home/tomasr/vps-config/scripts/update.sh
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Run nightly server update
[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=true
[Install]
WantedBy=timers.target