I'm submitting a request for a change to the fedora/redhat rpms installation.
Rather than have the startup options being changed in the subsonic init script where incorrect editing can have catastrophic effects on the service starting, I recommend altering the script in the following way:
-SUBSONIC_ARGS=""
+[ -r /etc/sysconfig/subsonic ] && . /etc/sysconfig/subsonic
Then add the following file:
/etc/sysconfig/subsonic
# command line options for subsonic
#
# For example, to specify that Subsonic should use port 7070
# and use a Java memory heap size of 80 MB, use the following:
#
# SUBSONIC_ARGS="--port=7070 --max-memory=80"
SUBSONIC_ARGS=""
This allows all configurations options to be made in the same location, and prevents people from incorrectly editing the subsonic startup script.
