Installing Subsonic working directory to a custom location

Tutorials, tips and tricks.

Moderator: moderators

Installing Subsonic working directory to a custom location

Postby BKKKPewsey » Mon Feb 20, 2012 7:29 pm

When SS normally installs it usually creates its main directory by default to c:\subsonic.
For users with SSD's or for other reasons, this may not be desirable.
This is how to move the SS working directory to another location.
Note the instructions that follow are for a windows install but should be easily adapted for other OS's.

  1. Allow SS to install normally and thus create the c:\subsonic folder
  2. Stop the SS service.
  3. Move the c:\ subsonic folder to the drive/location that you want.
  4. Go to c:\Program Files\Subsonic and open (with a text editor) subsonic-service.exe.vmoptions
  5. Add the following on a new line between the quotes " -Dsubsonic.home=your new location " e.g. -Dsubsonic.home=E:/subsonic. Be sure to use forward slashes instead of backslashes.
  6. Save file and exit editor
  7. Restart subsonic

Job Done :)

If for some reason you do not have a C: drive, at present, you will have to "trick" SS into installing somewhere else.
This can be achieved by opening up a command prompt and entering
Code: Select all
subst c: (system drive letter):\   i.e. subst c: g:\

Now run the subsonic installer which should now go to the correct drive.
Note: The removal of the hardcoding of C:, in the windows installer, is on Sindre's TODO list
So should be resolved soon :roll:

Further information regarding the subst command can be found at http://www.microsoft.com/resources/docu ... x?mfr=true

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests