diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-28 04:39:00 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-06-28 04:39:00 (GMT) |
commit | ee8706d41eba7efae8ee98c0c81e2b867e76e233 (patch) | |
tree | 63b1fa35b7c0f1d6524e15cc6e8508374d0f6b2e /abs/extra-testing | |
parent | 4a03413885687011952e55d7587e8775121f34dc (diff) | |
download | linhes_pkgbuild-ee8706d41eba7efae8ee98c0c81e2b867e76e233.zip linhes_pkgbuild-ee8706d41eba7efae8ee98c0c81e2b867e76e233.tar.gz linhes_pkgbuild-ee8706d41eba7efae8ee98c0c81e2b867e76e233.tar.bz2 |
Add run script for runit.
Diffstat (limited to 'abs/extra-testing')
-rw-r--r-- | abs/extra-testing/fuppes-svn/PKGBUILD | 6 | ||||
-rwxr-xr-x | abs/extra-testing/fuppes-svn/run | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/abs/extra-testing/fuppes-svn/PKGBUILD b/abs/extra-testing/fuppes-svn/PKGBUILD index 3c14ddd..295863a 100644 --- a/abs/extra-testing/fuppes-svn/PKGBUILD +++ b/abs/extra-testing/fuppes-svn/PKGBUILD @@ -3,7 +3,7 @@ pkgname=fuppes-svn pkgver=636 -pkgrel=5 +pkgrel=6 pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer" arch=('i686' 'x86_64') url="http://fuppes.ulrich-voelkel.de/" @@ -13,7 +13,7 @@ makdepends=('pkgconfig' 'autoconf' 'subversion') install=fuppes.install source=(fuppes-r634-archlinux.patch fuppes.diff fuppes.cfg run fuppes.ch) md5sums=('5d9f6331cc91b64aab69449ce327b214' 'c495fa1bd9a870ae36820632434319ee' \ - 'b0cef07d8e60d01c8146a69870672e1f' 'd8615e017b9929498076c312f134b2ed' \ + 'b0cef07d8e60d01c8146a69870672e1f' '3850001378088e5efac60487e5550d54' \ '3c355b860f1b0d273f5aa8b2bea1bde6') _svnmod="fuppes" @@ -44,6 +44,8 @@ build() mkdir -p $startdir/pkg/etc/fuppes cp $startdir/src/fuppes.cfg $startdir/pkg/etc/fuppes mkdir -p $startdir/pkg/etc/cron.hourly + mkdir -p $startdir/pkg/etc/sve/fuppes/supervise install -D -m755 $startdir/src/fuppes.ch $startdir/pkg/etc/cron.hourly + install -D -m755 $startdir/src/run $startdir/pkg/etc/sv/fuppes } diff --git a/abs/extra-testing/fuppes-svn/run b/abs/extra-testing/fuppes-svn/run index 670a3dd..dc69879 100755 --- a/abs/extra-testing/fuppes-svn/run +++ b/abs/extra-testing/fuppes-svn/run @@ -1,2 +1,2 @@ #!/bin/bash -exec /usr/bin/fuppes --config-dir /etc/fuppes --database-file /data/srv/fuppes/fuppes.db --temp-dir /myth/tmp +exec su mythtv -c "/usr/bin/fuppes --config-dir /etc/fuppes --database-file /data/srv/fuppes/fuppes.db --temp-dir /myth/tmp" |