aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-12-08 21:51:15 +0100
committerDavid Runge <dave@sleepmap.de>2018-12-08 21:51:15 +0100
commit96390cd99308fe253aa6a6e811c806db9137395f (patch)
tree0295e046f8656594c718b7c50542337e606daf54 /.config/systemd/user
parent666d11889761eb8f47a3421feb0fa9d007930b1c (diff)
downloaddotfiles-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/user')
-rw-r--r--.config/systemd/user/gpg-refresh.service6
-rw-r--r--.config/systemd/user/gpg-refresh.timer10
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