Ubuntu 14.04 LTS Server Multiple Profiles in Headless Mo
Posted: Wed Oct 29, 2014 12:40 am
Hi All
I would like to congratulate you on the latest release of UMS and the added 8083 / 9001 Web Interface.
I am trying to set up my Server to work with multiple profiles however I am stuck on where I should add the FAQ tutorial on this. the FAQ suggest the following:
Please let me know as I an unsure of where the additional profiles should be quoted.
I hope this makes sense??
GaryM
I would like to congratulate you on the latest release of UMS and the added 8083 / 9001 Web Interface.
I am trying to set up my Server to work with multiple profiles however I am stuck on where I should add the FAQ tutorial on this. the FAQ suggest the following:
I have attempted to put the additional Profiles into the /etc/init.d/UMS file however when i restart the server it loads the last Profile in the list.. Should I be adding the file Paths and Profile names in another location?Environment Variable (Advanced):
UMS also supports multiple profiles by means of the UMS_PROFILE environment variable.
If this variable is unset, the default profile directory is used to locate UMS.conf (and WEB.conf, if used).
If UMS_PROFILE is an absolute or relative (to the working directory) path pointing to an existing directory, then UMS.conf is loaded from and saved to that directory. If UMS_PROFILE is set, but doesn't point to an existing directory, it is assumed to be a relative or absolute path to a profile file. Note: while the file doesn't need to exist, the directory containing it must exist if the file is to be saved.
Examples:
UMS_PROFILE=UMS.conf ./UMS.sh
UMS_PROFILE=relative/path/to/profile.conf ./UMS.sh
UMS_PROFILE=/absolute/path/to/myprofile.conf ./UMS.sh
Please let me know as I an unsure of where the additional profiles should be quoted.
I hope this makes sense??
GaryM