diff options
author | Matthew hague | 2016-09-15 02:52:55 +0100 |
---|---|---|
committer | Matthew hague | 2016-09-15 02:52:55 +0100 |
commit | 4e4c2fffeb81aef8be0095b504428744d310168e (patch) | |
tree | f7a5bc459c42914c5e9ff2baad33705dbf623e00 | |
parent | 8420a0b04c612743e532e2a631b36831e4ae2948 (diff) | |
parent | 667439d97fbbe477d4c98ce333b2519b40e731e8 (diff) | |
download | aur-4e4c2fffeb81aef8be0095b504428744d310168e.tar.gz |
merged with remote version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | imapnotify@.service | 3 | ||||
-rw-r--r-- | nodejs-imapnotify-git.install | 2 |
4 files changed, 7 insertions, 8 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Sep 15 01:48:26 UTC 2016 +# Thu Sep 15 01:52:45 UTC 2016 pkgbase = nodejs-imapnotify-git pkgdesc = Execute scripts on new messages using IDLE imap command pkgver = 0.2.0 - pkgrel = 2 + pkgrel = 4 url = http://github.com/a-sk/node-imapnotify install = nodejs-imapnotify-git.install arch = any @@ -14,7 +14,7 @@ pkgbase = nodejs-imapnotify-git source = nodejs-imapnotify-git::git://github.com/a-sk/node-imapnotify.git source = imapnotify@.service sha256sums = SKIP - sha256sums = ef5d751f86fcff398ddaf3114c3bc90ce685b85739f76e8c6f1f80cea5c1cb27 + sha256sums = e101ef974e5c342f7a69177fb5ae1c341b4c39c911993eaa97a0917bddc5cc11 pkgname = nodejs-imapnotify-git @@ -2,7 +2,7 @@ pkgname=nodejs-imapnotify-git pkgver=0.2.0 -pkgrel=2 +pkgrel=4 pkgdesc='Execute scripts on new messages using IDLE imap command' arch=(any) url='http://github.com/a-sk/node-imapnotify' @@ -15,7 +15,7 @@ conflicts=('nodejs-imapnotify') source=($pkgname::git://github.com/a-sk/node-imapnotify.git imapnotify@.service) sha256sums=('SKIP' - 'ef5d751f86fcff398ddaf3114c3bc90ce685b85739f76e8c6f1f80cea5c1cb27') + 'e101ef974e5c342f7a69177fb5ae1c341b4c39c911993eaa97a0917bddc5cc11') package() { local _npmdir="$pkgdir/usr/lib/node_modules/" diff --git a/imapnotify@.service b/imapnotify@.service index 5d14588babac..07c868a47924 100644 --- a/imapnotify@.service +++ b/imapnotify@.service @@ -3,9 +3,8 @@ Description=Execute scripts on new messages using IDLE imap command After=network.target [Service] -User=username Type=simple -ExecStart=/usr/bin/imapnotify -c ~/.config/imap_inotify/%I.json +ExecStart=/usr/bin/imapnotify -c %h/.config/imapnotify/%I Restart=on-failure RestartSec=20 diff --git a/nodejs-imapnotify-git.install b/nodejs-imapnotify-git.install index 33b4715be95a..2a32afa20dc7 100644 --- a/nodejs-imapnotify-git.install +++ b/nodejs-imapnotify-git.install @@ -13,7 +13,7 @@ BLUE="${BOLD}$(tput setaf 4)" YELLOW="${BOLD}$(tput setaf 3)" post_install() { - note "Copy /usr/lib/systemd/system/imapnotify@.service to /etc/systemd/system and replace User=username with your username" + note "To use with systemd, place a config file in ~/.config/imapnotify/<config>.json and use systemctl --user enable imapnotify@<config>" } post_upgrade() { |