From 667a5fa4770f54e6e644154b6ac4155053e73a4a Mon Sep 17 00:00:00 2001 From: Davide Principi Date: Thu, 14 Dec 2023 09:20:33 +0100 Subject: [PATCH] Take snapshot once per week --- imageroot/systemd/user/snapshot.service | 1 + imageroot/systemd/user/snapshot.timer | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/imageroot/systemd/user/snapshot.service b/imageroot/systemd/user/snapshot.service index 69f4cdf..187553c 100644 --- a/imageroot/systemd/user/snapshot.service +++ b/imageroot/systemd/user/snapshot.service @@ -9,3 +9,4 @@ Description=Scheduled Porthos snapshot procedure [Service] Type=oneshot ExecStart=runagent take-snapshot +SyslogIdentifier=%N diff --git a/imageroot/systemd/user/snapshot.timer b/imageroot/systemd/user/snapshot.timer index f69963a..56d3f47 100644 --- a/imageroot/systemd/user/snapshot.timer +++ b/imageroot/systemd/user/snapshot.timer @@ -7,7 +7,7 @@ Description=Timer of Porthos snapshot procedure [Timer] -OnCalendar=Mon..Thu 23:00:00 +OnCalendar=Fri 21:00:00 UTC [Install] WantedBy=timers.target