diff options
-rw-r--r-- | www/madsonic-standalone/files/madsonic.in | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/www/madsonic-standalone/files/madsonic.in b/www/madsonic-standalone/files/madsonic.in index 0938e6e224f6..5002aaf64a97 100644 --- a/www/madsonic-standalone/files/madsonic.in +++ b/www/madsonic-standalone/files/madsonic.in @@ -6,45 +6,45 @@ # PROVIDE: subsonic # -# Configuration settings for subsonic in /etc/rc.conf: +# Configuration settings for madsonic in /etc/rc.conf: # -# subsonic_enable (bool): +# madsonic_enable (bool): # Set to "NO" by default. -# Set it to "YES" to enable subsonic +# Set it to "YES" to enable madsonic # -# subsonic_home (str): +# madsonic_home (str): # Set to "%%SUBSONIC_HOME%%" by default. # -# subsonic_music_folder (str): +# madsonic_music_folder (str): # Set to "%%SUBSONIC_HOME%%"/music by default. # -# subsonic_playlist_folder (str): +# madsonic_playlist_folder (str): # Set to "%%SUBSONIC_HOME%%"/playlist by default. # -# subsonic_pidfile (str): -# Set to "${subsonic_home}/subsonic.pid" by default. +# madsonic_pidfile (str): +# Set to "${madsonic_home}/madsonic.pid" by default. # -# subsonic_host (str): +# madsonic_host (str): # Set to "0.0.0.0" by default. # Specify which IP address to listen to. # -# subsonic_http_port (int): +# madsonic_http_port (int): # Set to "4040" by default. # Specify which port to listen on for HTTP. # -# subsonic_https_port (int): +# madsonic_https_port (int): # Set to "0" by default. # Specify which port to listen on for HTTPS. # -# subsonic_context_path (str): +# madsonic_context_path (str): # Set to "/" by default. -# Specify the last part of the Subsonic URL, typically "/" or "/subsonic". +# Specify the last part of the Subsonic URL, typically "/" or "/madsonic". # -# subsonic_init_memory (int): +# madsonic_init_memory (int): # Set to "192" by defaut. # Specify the memory initial size (Java heap size) in megabytes. # -# subsonic_max_memory (int): +# madsonic_max_memory (int): # Set to "384" by defaut. # Specify the memory limit (Java heap size) in megabytes. # @@ -86,7 +86,7 @@ pidfile="${_subsonic_pidfile}" -command="%%SUBSONIC_DIR%%/subsonic.sh" +command="%%SUBSONIC_DIR%%/madsonic.sh" command_args="--home=${_subsonic_home} \ --host=${_subsonic_host} \ --port=${_subsonic_http_port} \ @@ -96,6 +96,8 @@ command_args="--home=${_subsonic_home} \ --max-memory=${_subsonic_max_memory} \ --pidfile=${_subsonic_pidfile} \ --default-music-folder=${_subsonic_music_folder} \ - --default-playlist-folder=${_subsonic_playlist_folder}" + --default-playlist-import-folder=${_subsonic_playlist_folder}/import \ + --default-playlist-export-folder=${_subsonic_playlist_folder}/export \ + --default-playlist-backup-folder=${_subsonic_playlist_folder}/backup" run_rc_command "$1" |