summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhinoceros2016-10-20 15:24:16 +1100
committerRhinoceros2016-10-20 15:24:16 +1100
commit1af7f6822b04fd8f047582aa3cbd7cdcbc83369a (patch)
tree591fcc0e87fc1b3eded48c60bb40dd37d9de648d
parentc11a03499b0ba078fb5fd98e461f2476be6cba5e (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--pyimapnotify@.service4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e102aac0591f..4f9ef7c37929 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index fceb93acd1f3..b8294a6fff72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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]