Date: Tue, 31 Mar 2015 06:50:29 +0000 (UTC) From: Jeremie Le Hen <jlh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382797 - head/www/madsonic-standalone/files Message-ID: <201503310650.t2V6oTqS001178@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jlh (src committer) Date: Tue Mar 31 06:50:29 2015 New Revision: 382797 URL: https://svnweb.freebsd.org/changeset/ports/382797 QAT: https://qat.redports.org/buildarchive/r382797/ Log: Fix madsonic rc script. I should have made an end-to-end test when I converted www/subsonic-standalone for madsonic. This time I tested it and it works correctly. - Use the right script name to start madsonic. - Adapt to use the correct playlist flags. - Change doc comments. Approved by: bapt (implicit, from my previous commit) Modified: head/www/madsonic-standalone/files/madsonic.in Modified: head/www/madsonic-standalone/files/madsonic.in ============================================================================== --- head/www/madsonic-standalone/files/madsonic.in Tue Mar 31 06:33:42 2015 (r382796) +++ head/www/madsonic-standalone/files/madsonic.in Tue Mar 31 06:50:29 2015 (r382797) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503310650.t2V6oTqS001178>