diff options
Diffstat (limited to 'imapnotify@.service')
-rw-r--r-- | imapnotify@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/imapnotify@.service b/imapnotify@.service new file mode 100644 index 000000000000..5d14588babac --- /dev/null +++ b/imapnotify@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Execute scripts on new messages using IDLE imap command +After=network.target + +[Service] +User=username +Type=simple +ExecStart=/usr/bin/imapnotify -c ~/.config/imap_inotify/%I.json +Restart=on-failure +RestartSec=20 + +[Install] +WantedBy=default.target + |