diff options
author | Rhinoceros | 2016-10-20 15:24:16 +1100 |
---|---|---|
committer | Rhinoceros | 2016-10-20 15:24:16 +1100 |
commit | 1af7f6822b04fd8f047582aa3cbd7cdcbc83369a (patch) | |
tree | 591fcc0e87fc1b3eded48c60bb40dd37d9de648d | |
parent | c11a03499b0ba078fb5fd98e461f2476be6cba5e (diff) | |
download | aur-1af7f6822b04fd8f047582aa3cbd7cdcbc83369a.tar.gz |
Update to 0.0.3-3
* Restart on failure
* pyimapnotify exits with 0 even on failure, so just restart always
* Add logging/output in systemd
* -vv for medium verbosity
* python -u to prevent buffering (not sure if necessary, but no harm done)
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | pyimapnotify@.service | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Oct 10 00:23:39 UTC 2016 +# Thu Oct 20 04:23:22 UTC 2016 pkgbase = python-imapnotify pkgdesc = Execute scripts on new messages using IDLE imap command (Python version) pkgver = 0.0.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/a-sk/python-imapnotify install = python-imapnotify.install arch = any @@ -3,7 +3,7 @@ pkgname=python-imapnotify pkgver=0.0.3 -pkgrel=2 +pkgrel=3 pkgdesc='Execute scripts on new messages using IDLE imap command (Python version)' arch=('any') url='https://github.com/a-sk/python-imapnotify' diff --git a/pyimapnotify@.service b/pyimapnotify@.service index 2925e7495887..5272a728f73a 100644 --- a/pyimapnotify@.service +++ b/pyimapnotify@.service @@ -4,8 +4,8 @@ After=network.target [Service] Type=simple -ExecStart=/usr/bin/pyimapnotify -c %h/.config/imapnotify/%I -Restart=on-failure +ExecStart=/usr/bin/python -u /usr/bin/pyimapnotify -vv -c %h/.config/imapnotify/%I +Restart=always RestartSec=20 [Install] |