[arch-commits] Commit in pound/trunk (PKGBUILD pound.init)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:33:50 UTC 2013
Date: Monday, May 13, 2013 @ 16:33:50
Author: spupykin
Revision: 90704
upgpkg: pound 2.6-4
upd
Modified:
pound/trunk/PKGBUILD
Deleted:
pound/trunk/pound.init
------------+
PKGBUILD | 6 +-----
pound.init | 38 --------------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:33:46 UTC (rev 90703)
+++ PKGBUILD 2013-05-13 14:33:50 UTC (rev 90704)
@@ -5,7 +5,7 @@
pkgname=pound
pkgver=2.6
-pkgrel=3
+pkgrel=4
pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
arch=('i686' 'x86_64')
url="http://www.apsis.ch/pound/index_html"
@@ -13,12 +13,10 @@
depends=('pcre' 'openssl')
backup=(etc/pound/pound.cfg)
source=(http://www.apsis.ch/pound/Pound-$pkgver.tgz
- pound.init
pound.runit
pound.service
pound.cfg)
md5sums=('8c913b527332694943c4c67c8f152071'
- 'bd3bddb6dc17fdcab824815a4705b055'
'4bd5e2a8d8e707eb900ae88929e00d4c'
'23c70776fcd1cf71572f90a8809f7408'
'8937808acd22c6391ebe4340af8df854')
@@ -34,8 +32,6 @@
install -d $pkgdir/usr/sbin
make DESTDIR=$pkgdir install
chown root.root -R $pkgdir/usr
- install -d $pkgdir/etc/rc.d
- install -m0755 $srcdir/pound.init $pkgdir/etc/rc.d/pound
install -d $pkgdir/etc/sv
install -d $pkgdir/etc/sv/pound
install -m0755 $srcdir/pound.runit $pkgdir/etc/sv/pound/run
Deleted: pound.init
===================================================================
--- pound.init 2013-05-13 14:33:46 UTC (rev 90703)
+++ pound.init 2013-05-13 14:33:50 UTC (rev 90704)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Pound"
- /usr/sbin/pound -f /etc/pound/pound.cfg -p /var/run/pound.pid &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon pound
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Pound"
- [ -f /var/run/pound.pid ] && kill `cat /var/run/pound.pid`
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/pound.pid
- rm_daemon pound
- 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