I\'ve a container with odoo on it on the dir \"/opt/odoo/\".
A init script on \"/etc/init.d/odoo-server\"
#!/bin/bash ### BEGIN INIT INFO # Provides:
Looks like your shebang is not correct, instead of #!/bin/bash it should be #! /bin/sh
See: https://unix.stackexchange.com/questions/124566/how-to-debug-init-d-script-that-isnt-being-run