summarylogtreecommitdiffstats
path: root/pyimapnotify@.service
diff options
context:
space:
mode:
authorRhinoceros2016-10-20 15:24:16 +1100
committerRhinoceros2016-10-20 15:24:16 +1100
commit1af7f6822b04fd8f047582aa3cbd7cdcbc83369a (patch)
tree591fcc0e87fc1b3eded48c60bb40dd37d9de648d /pyimapnotify@.service
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)
Diffstat (limited to 'pyimapnotify@.service')
-rw-r--r--pyimapnotify@.service4
1 files changed, 2 insertions, 2 deletions
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]