Commit | Line | Data |
---|---|---|
9fc22a76 JC |
1 | [Unit] |
2 | Description=Mailbox Count and Sync Service | |
3 | After=network.target mail-count.timer | |
4 | Requires=mail-count.timer | |
5 | ||
6 | [Service] | |
7 | Type=oneshot | |
8 | User=mailcount | |
9 | Group=mailcount | |
10 | ExecStart=/usr/bin/bash -c "/usr/bin/dbus-send --type=method_call --session --dest=com.jacobcasper.Mail /com/jacobcasper/Mail/Unread com.jacobcasper.Mail.UnreadCount uint32:$(/usr/local/bin/mailcount)" | |
11 | ||
12 | [Install] | |
13 | WantedBy=multi-user.target |