From 96390cd99308fe253aa6a6e811c806db9137395f Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 8 Dec 2018 21:51:15 +0100 Subject: .config/systemd/user/gpg-refresh.*: Adding local systemd user service for PGP key refresh. --- .config/systemd/user/gpg-refresh.service | 6 ++++++ .config/systemd/user/gpg-refresh.timer | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .config/systemd/user/gpg-refresh.service create mode 100644 .config/systemd/user/gpg-refresh.timer (limited to '.config/systemd/user') diff --git a/.config/systemd/user/gpg-refresh.service b/.config/systemd/user/gpg-refresh.service new file mode 100644 index 0000000..3b7ff65 --- /dev/null +++ b/.config/systemd/user/gpg-refresh.service @@ -0,0 +1,6 @@ +[Unit] +Description=GnuPG cryptographic key refresh +Documentation=man:gpg(1) + +[Service] +ExecStart=/usr/bin/gpg --refresh-keys diff --git a/.config/systemd/user/gpg-refresh.timer b/.config/systemd/user/gpg-refresh.timer new file mode 100644 index 0000000..44c3e68 --- /dev/null +++ b/.config/systemd/user/gpg-refresh.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Timer for GnuPG cryptographic key refresh + +[Timer] +OnCalendar=daily +AccuracySec=1h +Persistent=true + +[Install] +WantedBy=timers.target -- cgit v1.2.3-70-g09d2