Page 1 of 1

Custom.sh scripts location for Docker

Posted: Thursday 04 January 2024 19:19
by solarboy
I am experimenting with moving over to Docker following the guide here

https://www.domoticz.com/wiki/Docker

The guide mentions the possibilty of using a custom.sh script which should be placed in "userdata" however I do not have this folder in /opt/domoticz

Does anyone know the actual location to place this file ?

Re: Custom.sh scripts location for Docker

Posted: Thursday 04 January 2024 19:22
by waltervl
See also https://hub.docker.com/r/domoticz/domoticz

After you have started domoticz a userdata folder (and some others for scripting) will be created.

Re: Custom.sh scripts location for Docker

Posted: Thursday 04 January 2024 22:41
by andreo
/opt/domoticz/userdata/customstart.sh

Re: Custom.sh scripts location for Docker

Posted: Thursday 04 January 2024 22:51
by solarboy
andreo wrote: Thursday 04 January 2024 22:41 /opt/domoticz/userdata/customstart.sh
Brilliant, thank you.