From ccdc4e0c2f85ad11b81c0d5260abd105754c2bd0 Mon Sep 17 00:00:00 2001
From: Amin Bandali <amin@aminb.org>
Date: Tue, 13 Dec 2016 11:10:38 -0500
Subject: Add my GNU email

Use getmail to fetch my GNU mail over pop3.

After stowing getmail config, run it like this the first time:
    getmail --store-password-in-gnome-keyring
to save the password in the Default gnome keyring.

Then, proceed to run it without arguments, and/or enable and start the systemd
timer for auto-syncing.

Requires:
    getmail
    gnome-keyring
    python2-gnome-keyring
---
 getmail/.config/systemd/user/getmail.service | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 getmail/.config/systemd/user/getmail.service

(limited to 'getmail/.config/systemd/user/getmail.service')

diff --git a/getmail/.config/systemd/user/getmail.service b/getmail/.config/systemd/user/getmail.service
new file mode 100644
index 0000000..4e91ef3
--- /dev/null
+++ b/getmail/.config/systemd/user/getmail.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=getmail service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/getmail
+StandardOutput=syslog
+StandardError=syslog
-- 
cgit v1.2.3-60-g2f50