Search Criteria
Package Details: goimapnotify 2.0-4
Git Clone URL: | https://aur.archlinux.org/goimapnotify.git (read-only, click to copy) |
---|---|
Package Base: | goimapnotify |
Description: | Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE, golang version. |
Upstream URL: | https://gitlab.com/shackra/goimapnotify |
Keywords: | email imap mu4e notmuch |
Licenses: | |
Submitter: | shackra |
Maintainer: | shackra |
Last Packager: | shackra |
Votes: | 4 |
Popularity: | 1.08 |
First Submitted: | 2017-08-31 03:39 |
Last Updated: | 2019-05-11 02:36 |
Dependencies (1)
- go (go-tip, go-git, go-go2go-git, gcc-go-git, gcc-go) (make)
Latest Comments
1 2 Next › Last »
lowercase commented on 2021-03-03 14:13
Heya,
this package currently fails to build. I needed to set GO111MODULE=auto to make it work again:
yaky83 commented on 2021-02-05 17:15
Thanks for this useful package.
maximbaz commented on 2019-09-11 13:54
hey, the package is missing
git
inmakedepends
, git is required by Go get, please add :)Rhinoceros commented on 2019-05-11 06:54
@shackra That's perfect! Thank you for sorting it all out!
shackra commented on 2019-05-11 02:37
I have pushed some changes, tell me if it works fine
Rhinoceros commented on 2019-05-10 04:18
Ah got it. So the important change to make it work as a user unit is removing
Requires=network.target
. I imagine that's probably okay to do? I'm guessing that if the network goes down, then goimapnotify will terminate (and attempt to restart).A few other things: the service file refers to
/home/%i/.config/imapnotify/%i.conf
. This presumes that the "instance name"%i
is the same as the user (in/home/%i
). However, this is not the case for me. I run three instances of *imapnotify for different email accounts. In comparison, nodejs-imapnotify specifies the path with%h/.config/imapnotify/%I
instead. I don't entirely understand the preference between%i
and%I
, but could you please change the%h
part at least?node-imapnotify also has
Type=simple
, which I think is more appropriate than the default ofoneshot
? I think the other changes you make (Restart
,WantedBy
) are good though!shackra commented on 2019-05-10 03:16
I run Emacs as a service too, which is my "email client" of choice.
You can remove that from the unit service.
Rhinoceros commented on 2019-05-10 03:12
What is
emacs.service
? I don't have that on my system.shackra commented on 2019-05-10 03:04
@Rhinoceros I, uh, just copied the same systemd unit service to ~/.config/systemd/user/ and modify it like this
Maybe I just should copy that back to this package and call it a day.
Rhinoceros commented on 2019-05-10 02:48
Sorry, I should have mentioned that I tested moving it to
/usr/lib/systemd/user/
already, but it failed for me. Apparently you can't mix system and user units. As long as it requiresnetwork.target
, which is logical, it must be a system unit unfortunately.How do you run goimapnotify personally? Not as a systemd unit then?