Page 1 of 1

Installing Subsonic working directory to a custom location

PostPosted: Mon Feb 20, 2012 7:29 pm
by BKKKPewsey
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: