Closed hulkhaugen closed 7 months ago
If you want things to run before certain init scripts, then you'll have to inject proper s6 init steps. Take a look at this mod for instance, where it injects two separate init steps into different spots, one before package install and one after: https://github.com/linuxserver/docker-mods/tree/code-server-flutter
Is there an existing issue for this?
Current Behavior
I'm trying to add a custom script to this container, but I'm facing some challenges. I'm very limited in this field, but it seems to me that the script(s) in
custom-cont-init.d
are ran after some IPFS related stuff. The issue for me personally is that I want to remove/data
and make a symlink from a variable, let's say/share/emulatorjs
to/data
. I'm doing this for a Home Assistant Add-on, so I'm somewhat limited from the usual approaches.Maybe i'm approaching this wrong, I just want to be able to move the roms folders to
/share
.Expected Behavior
Run script before anything else inside the container
Steps To Reproduce
/data
, and adds a symlink from/share/emulatorjs
to/data
custom-cont-init.d
Environment
CPU architecture
arm64
Docker creation
Container logs