Last active
September 17, 2017 18:26
-
-
Save gene1wood/c23e50fb2b67cb027f1b to your computer and use it in GitHub Desktop.
Increase Subsonic session-timeout value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir workspace | |
cd workspace | |
sudo cp /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar.orig | |
unzip /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar | |
cat > webdefault.patch <<End-of-message | |
--- org/mortbay/jetty/webapp/webdefault.xml.orig 2014-06-11 10:06:12.000000000 -0700 | |
+++ org/mortbay/jetty/webapp/webdefault.xml 2014-06-11 10:06:39.000000000 -0700 | |
@@ -323,7 +323,7 @@ | |
<!-- ==================================================================== --> | |
<session-config> | |
- <session-timeout>30</session-timeout> | |
+ <session-timeout>20160</session-timeout> | |
</session-config> | |
<!-- ==================================================================== --> | |
End-of-message | |
patch -p0 -i webdefault.patch && rm webdefault.patch | |
sudo /sbin/service subsonic stop | |
sudo zip -r /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar ./ | |
sudo /sbin/service subsonic start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worked for me on Subsonic 5.3. Big thank you.