aboutsummaryrefslogtreecommitdiff
path: root/email/dot-config/systemd/user/goimap.service
blob: d315da86505f3538233799186be7f39b7c58eea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
PartOf=graphical-session.target
Description=Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version.
After=graphical-session.target
After=network-online.target
Requisite=graphical-session.target

[Service]
Type=simple
ExecStart=/usr/bin/goimapnotify -conf %h/.config/imapnotify/mit.yaml
Restart=always
RestartSec=300

[Install]
WantedBy=graphical-session.target