summaryrefslogtreecommitdiff
path: root/tw/system/vin.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-05-28 23:45:05 +0200
committerTimo Wilken2023-05-28 23:45:05 +0200
commitd6569c8f965e0dec4dfc874c620dd77440f7dd15 (patch)
tree7cfc5544d11f6a2f0d77a95cd294038df583d2db /tw/system/vin.scm
parent4484a7768efa027b764d377f0d2a6ac934e21508 (diff)
Restart services on unattended-upgrade
Diffstat (limited to 'tw/system/vin.scm')
-rw-r--r--tw/system/vin.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tw/system/vin.scm b/tw/system/vin.scm
index 651fe528..75704d59 100644
--- a/tw/system/vin.scm
+++ b/tw/system/vin.scm
@@ -156,6 +156,9 @@
(unattended-upgrade-configuration
(schedule "22 07 * * sat") ; 07:22 every Saturday morning
(maximum-duration (* 40 60)) ; 40 minutes to allow for slow downloads
+ (services-to-restart
+ '(mcron wireguard-wg0 syncthing-timo postgresql hledger-dashboard
+ prometheus-node-exporter restic-server))
(channels %system-channels)
(operating-system-expression
#~(@ (tw system vin) %vin-system))))