diff options
author | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-14 01:18:40 -0700 |
commit | 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch) | |
tree | fa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/incron | |
parent | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff) |
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/incron')
-rw-r--r-- | community/incron/PKGBUILD | 7 | ||||
-rw-r--r-- | community/incron/incron.init | 34 |
2 files changed, 2 insertions, 39 deletions
diff --git a/community/incron/PKGBUILD b/community/incron/PKGBUILD index 32778331c..21370d6af 100644 --- a/community/incron/PKGBUILD +++ b/community/incron/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 74646 2012-08-01 06:33:04Z spupykin $ +# $Id: PKGBUILD 90677 2013-05-13 14:26:58Z 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=3 +pkgrel=4 pkgdesc="Like the regular cron but is driven by filesystem events instead of time periods" arch=('i686' 'x86_64') url="http://incron.aiken.cz/" @@ -14,10 +14,8 @@ depends=('gcc-libs' 'bash') install=incron.install options=('emptydirs') source=("http://inotify.aiken.cz/download/incron/$pkgname-$pkgver.tar.gz" - 'incron.init' 'incrond.service') md5sums=('67f8b671db8169edccc8ef11c7d2c8be' - '648e1ca1a4b1e624401d9d71aa3756b3' '859a90af9e4efe40db381ea07167a66a') build() { @@ -39,6 +37,5 @@ package() { CFGDIR="${pkgdir}"/etc \ 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/incron.init b/community/incron/incron.init deleted file mode 100644 index 337c0fa0b..000000000 --- a/community/incron/incron.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# general config -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting Incrond" - /usr/sbin/incrond - add_daemon incrond - stat_done - ;; - stop) - stat_busy "Stopping Incrond" - PID=`pidof -o %PPID /usr/sbin/incrond` - [ -z "$PID" ] || kill $PID - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon incrond - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" - ;; -esac -exit 0 |