Skip to content
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

Add :syslog to included_applications #5

Closed
wants to merge 1 commit into from

Conversation

aaronjensen
Copy link
Contributor

Without this, when running an exrm release on the exrm 1.0.4, when exsyslog attempts to start syslog, it will already be started and crash.

@bitwalker does this seem right? Is there something else wrong? This was not the case on 1.0.0-rc7, it was introduced somewhere after that.

Without this, when running an exrm release on the exrm 1.0.4, when exsyslog attempts to start syslog, it will already be started and crash.
@bitwalker
Copy link

@aaronjensen I would guess this is due to the foreground task not running the release in embedded mode like it was supposed to. In other words, the behaviour pre-1.0.4 was not intended. What you are describing here is the expected result: if you need to control the start/stop lifecycle of an application or set of applications, then all of those applications need to be in :included_applications rather than :applications. The former is used when you will be handling starting and stopping them, the latter when you want the runtime to handle it for you.

@aaronjensen
Copy link
Contributor Author

Ok, thanks, though should this package add syslog to included_applications itself rather than asking its consumers to add it?

@bitwalker
Copy link

Given the role of exsyslog, I'd say yes, it should have it in included_applications, since it's exsyslog, not the consumer which will be responsible for the syslog lifecycle. It does mean that consumers can't add syslog to included_applications themselves, as only one application in a release can "include" some other application, so it's worth documenting that, but I would guess users of exsyslog don't really need to work with syslog directly, so it may not be an issue.

@aaronjensen
Copy link
Contributor Author

Superseded by #6

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