Add context parameters for some paths.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 08:37:20 +0000 (10:37 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 18 Apr 2012 08:37:20 +0000 (10:37 +0200)
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>