summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mediaserv/mediaserv.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-15 20:47:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-15 20:47:02 (GMT)
commit668837a29bbf35492777ba7ecc653cdf744fd071 (patch)
treebfc519fd4568a228e2b48b2fbe231294acb93e7a /abs/extra-testing/mediaserv/mediaserv.install
parent4e45176422a6ccd0c7447feb53b622283ad64689 (diff)
parentdf02dd3d577fb8298eee61282c1fa28178d99db6 (diff)
downloadlinhes_pkgbuild-668837a29bbf35492777ba7ecc653cdf744fd071.zip
linhes_pkgbuild-668837a29bbf35492777ba7ecc653cdf744fd071.tar.gz
linhes_pkgbuild-668837a29bbf35492777ba7ecc653cdf744fd071.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/mediaserv/mediaserv.install')
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/abs/extra-testing/mediaserv/mediaserv.install b/abs/extra-testing/mediaserv/mediaserv.install
index 6fe6f08..7a26077 100644
--- a/abs/extra-testing/mediaserv/mediaserv.install
+++ b/abs/extra-testing/mediaserv/mediaserv.install
@@ -4,6 +4,8 @@ post_install() {
ln -s /myth/pretty /myth/mediaserv/media/tv
ln -s /myth/video /myth/mediaserv/media/video
chown -R mythtv.mythtv /myth/mediaserv
+ add_service.sh mediaserv
+ sv start mediaserv
}
# arg 1: the new package version
# arg 2: the old package version
@@ -13,6 +15,8 @@ post_upgrade() {
# arg 1: the old package version
post_remove() {
+ sv stop mediaserv
+ remove_service.sh mediaserv
rm -fr /home/mythtv/.mediaserv
rm -fr /myth/mediaserv
}