diff options
Diffstat (limited to '.config/systemd')
-rw-r--r-- | .config/systemd/user/gpg-refresh.service | 6 | ||||
-rw-r--r-- | .config/systemd/user/gpg-refresh.timer | 10 |
2 files changed, 16 insertions, 0 deletions
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 |