summaryrefslogtreecommitdiff
path: root/community/incron
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-08-03 00:01:47 +0000
commit92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch)
treea762a2b1551bff9d77cf7a44a75f915fb074c1a2 /community/incron
parentf003ac1c96d76f4e3a2b93f988e1effce6771052 (diff)
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'community/incron')
-rw-r--r--community/incron/PKGBUILD13
-rw-r--r--community/incron/incrond.service10
2 files changed, 18 insertions, 5 deletions
diff --git a/community/incron/PKGBUILD b/community/incron/PKGBUILD
index 95ab5aaf2..32778331c 100644
--- a/community/incron/PKGBUILD
+++ b/community/incron/PKGBUILD
@@ -1,22 +1,24 @@
-# $Id: PKGBUILD 74562 2012-07-30 14:14:51Z spupykin $
+# $Id: PKGBUILD 74646 2012-08-01 06:33:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Roberto Alsina <ralsina@kde.org>
# Contributor: scj <scj(at)archlinux(dot)us>
pkgname=incron
pkgver=0.5.10
-pkgrel=2
+pkgrel=3
pkgdesc="Like the regular cron but is driven by filesystem events instead of time periods"
arch=('i686' 'x86_64')
url="http://incron.aiken.cz/"
license=('GPL')
depends=('gcc-libs' 'bash')
install=incron.install
-source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz"
- 'incron.init')
options=('emptydirs')
+source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz"
+ 'incron.init'
+ 'incrond.service')
md5sums=('67f8b671db8169edccc8ef11c7d2c8be'
- '648e1ca1a4b1e624401d9d71aa3756b3')
+ '648e1ca1a4b1e624401d9d71aa3756b3'
+ '859a90af9e4efe40db381ea07167a66a')
build() {
cd "${srcdir}"/$pkgname-$pkgver
@@ -38,4 +40,5 @@ package() {
SYSDATADIR="${pkgdir}"/etc/incron.d install
install -Dm0755 "${srcdir}"/incron.init "${pkgdir}"/etc/rc.d/incrond
+ install -Dm0644 "${srcdir}/incrond.service" "${pkgdir}/usr/lib/systemd/system/incrond.service"
}
diff --git a/community/incron/incrond.service b/community/incron/incrond.service
new file mode 100644
index 000000000..54fcfa9d2
--- /dev/null
+++ b/community/incron/incrond.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Inotify System Scheduler
+
+[Service]
+Type=forking
+PIDFile=/run/incrond.pid
+ExecStart=/usr/sbin/incrond
+
+[Install]
+WantedBy=multi-user.target