diff options
author | Rhinoceros | 2016-10-10 11:23:45 +1100 |
---|---|---|
committer | Rhinoceros | 2016-10-10 11:23:45 +1100 |
commit | c11a03499b0ba078fb5fd98e461f2476be6cba5e (patch) | |
tree | 9fdac78ed9b8b1f07a45fe96a2061d848ba99cad /pyimapnotify@.service | |
parent | 7d2ad5fdc0fc9e82a5d2da7df29af9ffb1ef0320 (diff) | |
download | aur-c11a03499b0ba078fb5fd98e461f2476be6cba5e.tar.gz |
Update to 0.0.3-2
* Add systemd.service (N.B. it works, but doesn't seem to log correctly)
* Add install file with information for systemd setup
* Add contributor, whose service and install files I copied
Diffstat (limited to 'pyimapnotify@.service')
-rw-r--r-- | pyimapnotify@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pyimapnotify@.service b/pyimapnotify@.service new file mode 100644 index 000000000000..2925e7495887 --- /dev/null +++ b/pyimapnotify@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Execute scripts on new messages using IDLE imap command (Python version) +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/pyimapnotify -c %h/.config/imapnotify/%I +Restart=on-failure +RestartSec=20 + +[Install] +WantedBy=default.target |