Subject: [alpine-devel] [PATCH] Update ushare to start and stop under modern a.o.

From: Nathan Angelacos <[email-masked]>
Date: Sun, 25 Mar 2012 22:00:55 +0000

---
 testing/ushare/APKBUILD     |    4 ++--
 testing/ushare/ushare.initd |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/testing/ushare/APKBUILD b/testing/ushare/APKBUILD
index 8c2fb0f..71a0313 100644
--- a/testing/ushare/APKBUILD
+++ b/testing/ushare/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Francesco Colista <[email-masked]>
 pkgname=ushare
 pkgver=1.1a
-pkgrel=0
+pkgrel=1
 pkgdesc="A free UPnP A/V Media Server for Linux"
 url="http://ushare.geexbox.org"
 arch="all"
@@ -48,5 +48,5 @@ package() {
 md5sums="5bbcdbf1ff85a9710fa3d4e82ccaa251  ushare-1.1a.tar.bz2
 32c29f9f673e8b3a3d9e7bf5e60febbc  upnp-build-fix.patch
 5243475c0cebc5db49296b2f3691085b  ushare-config.patch
-57b6ccaba8d17a79c6a651ad5f66cb6d  ushare.initd
+5ae6ea545a9d65143bd2dd78354ac72f  ushare.initd
 28cc24dea30918ea859ed9c974f242d7  ushare.confd"
diff --git a/testing/ushare/ushare.initd b/testing/ushare/ushare.initd
index 8ca03fc..090d0b6 100644
--- a/testing/ushare/ushare.initd
+++ b/testing/ushare/ushare.initd
@@ -8,13 +8,13 @@ depend() {
 start() {
   ebegin "Starting uShare UPnP A/V Media Server"
   start-stop-daemon --start --quiet --background --make-pidfile \
-  --pidfile /var/run/ushare.pid --exec /bin/ushare \
+  --pidfile /var/run/ushare.pid --exec /usr/bin/ushare \
   -- $PARAMS
   eend $?
 }
 
 stop() {
   ebegin "Stopping uShare UPnP A/V Media Server"
-  start-stop-daemon --stop -quiet --pidfile /var/run/ushare.pid
+  start-stop-daemon --stop --quiet --pidfile /var/run/ushare.pid
   eend $?
 }
-- 
1.7.7.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---