This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e1ccdfccff3acf00e771bfd9f5923ce5f36ab541

commit e1ccdfccff3acf00e771bfd9f5923ce5f36ab541
Author: Teemu Likonen <[email protected]>
AuthorDate: Sat Jul 22 19:32:24 2023 +0200

    debian: Set Persistent=true for dpkg-db-backup systemd timer
    
    The "OnCalendar=daily" rule means every night exactly at 00:00:00. The
    timer does not trigger if the computer is not turned on exactly at that
    time.
    
    The timer is meant to trigger daily even if the computer is not running
    at midnight. By setting Persistent=true we make the timer trigger
    immediately if the specified time has passed.
    
    Closes: #1041730
    Signed-off-by: Guillem Jover <[email protected]>
---
 debian/dpkg.dpkg-db-backup.timer | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/dpkg.dpkg-db-backup.timer b/debian/dpkg.dpkg-db-backup.timer
index 8f302d24f..87392e77c 100644
--- a/debian/dpkg.dpkg-db-backup.timer
+++ b/debian/dpkg.dpkg-db-backup.timer
@@ -4,6 +4,7 @@ Documentation=man:dpkg(1)
 
 [Timer]
 OnCalendar=daily
+Persistent=true
 
 [Install]
 WantedBy=timers.target

-- 
Dpkg.Org's dpkg

Reply via email to