diff options
author | Timo Wilken | 2023-05-28 23:45:05 +0200 |
---|---|---|
committer | Timo Wilken | 2023-05-28 23:45:05 +0200 |
commit | d6569c8f965e0dec4dfc874c620dd77440f7dd15 (patch) | |
tree | 7cfc5544d11f6a2f0d77a95cd294038df583d2db | |
parent | 4484a7768efa027b764d377f0d2a6ac934e21508 (diff) |
Restart services on unattended-upgrade
-rw-r--r-- | tw/system/vin.scm | 3 |
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)))) |