[arch-commits] Commit in incron/trunk (PKGBUILD incron.init)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:26:37 UTC 2013
Date: Monday, May 13, 2013 @ 16:26:37
Author: spupykin
Revision: 90676
upgpkg: incron 0.5.10-4
upd
Modified:
incron/trunk/PKGBUILD
Deleted:
incron/trunk/incron.init
-------------+
PKGBUILD | 5 +----
incron.init | 34 ----------------------------------
2 files changed, 1 insertion(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:26:33 UTC (rev 90675)
+++ PKGBUILD 2013-05-13 14:26:37 UTC (rev 90676)
@@ -5,7 +5,7 @@
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 @@
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 @@
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"
}
Deleted: incron.init
===================================================================
--- incron.init 2013-05-13 14:26:33 UTC (rev 90675)
+++ incron.init 2013-05-13 14:26:37 UTC (rev 90676)
@@ -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
More information about the arch-commits
mailing list