I’m attempting to make an XBMC headless docker to be used in an unraid environment, i’m looking to make it as appliance like as is possible, to whit the problems are thus.
XBMC when it first runs creates a series of folders in the home folder of the current user or in opt if run in portable mode
the settings file needed to edit to make XBMC work headless is not created by default and needs to be in a specific place within the created folders, so i need some kind of loop that waits until the folders are created before moving/copying the settings file into the correct place.
running xbmc in this way isn’t the most stable of things so it needs supervisor to keep it alive, so any script for start/entrypoint needs to call supervisor.
any help greatly appreciated.