diff options
author | David Runge <dave@sleepmap.de> | 2018-12-08 21:51:15 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-12-08 21:51:15 +0100 |
commit | 96390cd99308fe253aa6a6e811c806db9137395f (patch) | |
tree | 0295e046f8656594c718b7c50542337e606daf54 /.config/systemd | |
parent | 666d11889761eb8f47a3421feb0fa9d007930b1c (diff) | |
download | dotfiles-96390cd99308fe253aa6a6e811c806db9137395f.tar.gz dotfiles-96390cd99308fe253aa6a6e811c806db9137395f.tar.bz2 dotfiles-96390cd99308fe253aa6a6e811c806db9137395f.tar.xz dotfiles-96390cd99308fe253aa6a6e811c806db9137395f.zip |
.config/systemd/user/gpg-refresh.*: Adding local systemd user service for PGP key refresh.
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 |