Initializing a Codespace #15519
Unanswered
bartr
asked this question in
Codespaces
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We need to run some commands when the Codespace boots. One of the commands is
mount -a
.What is the best way to do that?
I've tried creating a script in /etc/init.d but it doesn't get executed. So I tried modifying an existing script and they don't appear to get executed either. They are copied to the /etc/rcX.d directories and if you run with sudo service, they work.
I know I can run in post-start but that's not early enough for some of our commands.
Beta Was this translation helpful? Give feedback.
All reactions