Add context parameters for some paths.
[demoscenemusic.git] / src / main / webapp / WEB-INF / web.xml.template
index 1d45ed9..3082c34 100644 (file)
@@ -4,4 +4,16 @@
        <display-name>DemosceneMusic</display-name>
        <description>Database for all demoscene music</description>
 
+       <context-param>
+               <param-name>storage.streamed</param-name>
+               <description>The directory where the streaming files (MP3, Vorbis, etc.) are stored.</description>
+               <param-value>/var/lib/demoscene-music/streamed</param-value>
+       </context-param>
+
+       <context-param>
+               <param-name>storage.original</param-name>
+               <description>The directory where the original files (binaries, SID files, MOD files, etc.) are stored.</description>
+               <param-value>/var/lib/demoscene-music/original</param-value>
+       </context-param>
+
 </web-app>