linuxserver / docker-emby

GNU General Public License v3.0
115 stars 39 forks source link

How to run a command before emby starts when starting #68

Closed wmbin closed 1 year ago

wmbin commented 1 year ago

Is this a new feature request?

Wanted change

How to run a command before emby starts when starting

Reason for change

Map the Nvidia driver into the container, ldconfig needs to be run before Emby is called.

Proposed code change

No response

github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 1 year ago

What makes you think you need to run that?

https://xyproblem.info/

wmbin commented 1 year ago

@aptalca NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please make sure that the NVIDIA Display Driver is properly installed and present in your system. Please also try adding directory that contains libnvidia-ml.so to your system PATH.

I have found how to enable the executable file, /etc/cont-init.d/.