From 4cbef0e520d3bb65e2ee1f8d080c8fb32111cf00 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 17 Mar 2025 15:51:49 -0400 Subject: [PATCH] goimap --- .config/systemd/user/goimapnotify.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/systemd/user/goimapnotify.service diff --git a/.config/systemd/user/goimapnotify.service b/.config/systemd/user/goimapnotify.service new file mode 100644 index 00000000..2c25255b --- /dev/null +++ b/.config/systemd/user/goimapnotify.service @@ -0,0 +1,13 @@ +[Unit] +Description=Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version. +StartLimitIntervalSec=1d +StartLimitBurst=5 + +[Service] +Type=simple +ExecStart=/home/fic/go/bin/goimapnotify +Restart=always +RestartSec=30 + +[Install] +WantedBy=default.target