aboutsummaryrefslogtreecommitdiff
path: root/email/dot-config/systemd/user/goimap@.service
diff options
context:
space:
mode:
Diffstat (limited to 'email/dot-config/systemd/user/goimap@.service')
-rw-r--r--email/dot-config/systemd/user/goimap@.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/email/dot-config/systemd/user/goimap@.service b/email/dot-config/systemd/user/goimap@.service
new file mode 100644
index 0000000..157af79
--- /dev/null
+++ b/email/dot-config/systemd/user/goimap@.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Execute scripts on IMAP mailbox changes
+Documentation=https://gitlab.com/shackra/goimapnotify
+PartOf=graphical-session.target
+After=graphical-session.target
+After=network-online.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/goimapnotify -conf %h/.config/imapnotify/%i.yaml
+Restart=always
+RestartSec=300
+
+[Install]
+WantedBy=graphical-session.target