Skip to content

distrib: refine OpenRC init scripts#1920

Merged
slingamn merged 1 commit intoergochat:masterfrom
thesamesam:openrc-init
Feb 20, 2022
Merged

distrib: refine OpenRC init scripts#1920
slingamn merged 1 commit intoergochat:masterfrom
thesamesam:openrc-init

Conversation

@thesamesam
Copy link
Copy Markdown
Contributor

  • Add logging to init script
  • Add delay so OpenRC realises if we crashed quickly b/c of e.g. bad config
    file
  • General cleanups (like supporting multiple instances, style changes)

This should make it a lot easier to see what's going wrong when something
breaks.

Bug: #1914
Signed-off-by: Sam James sam@gentoo.org

- Add logging to init script
- Add delay so OpenRC realises if we crashed quickly b/c of e.g. bad config
   file
- General cleanups (like supporting multiple instances, style changes)

This should make it a lot easier to see what's going wrong when something
breaks.

Bug: #1914
Signed-off-by: Sam James <sam@gentoo.org>
@slingamn
Copy link
Copy Markdown
Member

lgtm; the use of --wait here is validating all my systemd chauvinism ;-)

@slingamn slingamn merged commit 87d9add into ergochat:master Feb 20, 2022
@thesamesam thesamesam deleted the openrc-init branch February 20, 2022 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants