Move adding /var/mp3 to the mediatomb shared dirs
authorroot <root@master.warriors.homedns.org>
Fri, 23 Jan 2009 20:11:28 +0000 (21:11 +0100)
committerroot <root@master.warriors.homedns.org>
Fri, 23 Jan 2009 20:11:28 +0000 (21:11 +0100)
Mediatomb cannot start at install.sh because pakfire install the dependencies after mediatomb

:d

config/mediatomb/config.xml
src/paks/mediatomb/install.sh
src/paks/mediatomb/update.sh

index 28bf17b9b2beb7e9b696a8b3e120dfcf5f738950..adb4ae5b052f5bd7fc97001cc4f0c640a21f7e5f 100644 (file)
     -->
   </server>
   <import hidden-files="no">
+    <autoscan use-inotify="auto">
+      <!-- Add /var/mp3 to mediatomb shares -->
+      <directory location="/var/mp3" mode="inotify" recursive="yes" hidden-files="yes"/>
+    </autoscan>
     <scripting script-charset="UTF-8">
       <virtual-layout type="builtin"/>
     </scripting>
index 5c558d9ba4cf034c607716c5556e7cbb693de521..682363b5c7e9037200c075d9e576a2d00e5c801c 100644 (file)
@@ -24,4 +24,3 @@
 . /opt/pakfire/lib/functions.sh
 extract_files
 restore_backup ${NAME}
-/etc/init.d/mediatomb start -a /var/mp3
index 89c40d0d7c5d3dd57b5944f3af4977d5f8d76760..8fae80d9862d14436e06c5f7e71e1fd4b6f7cf1a 100644 (file)
@@ -24,3 +24,4 @@
 . /opt/pakfire/lib/functions.sh
 ./uninstall.sh
 ./install.sh
+/etc/init.d/mediatomb start