Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

F #265: Improve START_SCRIPT #271

Merged
merged 1 commit into from
May 31, 2022

Conversation

ospalax
Copy link

@ospalax ospalax commented May 31, 2022

Scripts run by one-contexd will not be executed in a subshell - this
will fix the issue with the START_SCRIPT which would hold the boot if
any long-running process would originate in it (e.g. daemon/service).

User still will need to do something like this inside the START_SCRIPT
(or any other context script) otherwise SIGTERM will be sent:

nohup service nginx start &

Signed-off-by: Petr Ospalý pospaly@opennebula.io

Scripts run by one-contexd will not be executed in a subshell - this
will fix the issue with the START_SCRIPT which would hold the boot if
any long-running process would originate in it (e.g. daemon/service).

User still will need to do something like this inside the START_SCRIPT
(or any other context script) otherwise SIGTERM will be sent:

    nohup service nginx start &

Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant