-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Autostart ircbot based on environment variable #317
base: master
Are you sure you want to change the base?
Conversation
This will ensure that the irc-bot is started if irc_alert is configured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this service I think we should have a new env var named smth like LIBRENMS_IRC_SERVICE
instead of relying on irc_alert
config.
- Changed startup to depend on nevironment variable - Fixed uid/gid - Shortened final sleep before restart (not sure about this one)
Seems like the bot is unable to send alerts. Possibly because the alerts are triggered by the dispatcher container, which does not have access to the .ircbot.alert file. |
This PR needs to be merged to make alerting work in the container based environment. |
Moving to draft while waiting for the upstream PR to be merged |
Approved upstream, will be in 23.5 |
Now that 23.5 has been released. This should be ready. |
This will ensure that the irc-bot is started if the enviroment-variable LIBRENMS_IRC_SERVICE is set to "1".
You still need to enable irc_alert in the config to use the ircbot for alerting.