-
Notifications
You must be signed in to change notification settings - Fork 2.2k
How to run a script every started? #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
something like this MariaDB/mariadb-docker#284 (comment) |
/always-initdb.d
Duplicate of #642 |
not Duplicate. the scripts in |
See also https://github.com/tianon/gosu/tree/9f7cd138a1ebc0684d43ef6046bf723978e8741f#warning |
If you want to run the startup scripts as root, you'll need to implement your own entrypoint. |
I think the script should change to this:
|
There are inexplicable permissions problems in some environments. I want to execute chown before the mysqld process to fix these problems. How could I use the root user to run the script, :
The text was updated successfully, but these errors were encountered: