You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Evebox as systemd service on CentOS, with elasticsearch as database, gives me an error that elasticsearch is not available upon system reboot and hence the Evebox service fails to start.
Adding to /usr/lib/systemd/system/evebox.service the following line under [Unit] solves the issue:
After=elasticsearch.service
Maybe this could be included per default?
The text was updated successfully, but these errors were encountered:
Not all systemd users of EveBox are using Elasticsearch.
That's why I used After instead of Requires. Hence if Elasticsearch runs on the machine, Evebox will be started after Elasticsearch (just in case Evebox actually uses Elasticsearch as data source). If Elasticsearch does not run on the machine, Evebox will also be started and After is simply not used by systemd.
But indeed, ideally Evebox can survive the fact that Elasticsearch is started after it.
If using Elasticsearch, wait for a successful get of the version.
This means we won't proceed until Elasticsearch is ready as well.
Related issue:
#170
EveBox will now wait on startup for Elasticsearch to be ready. This was needed even outside of systemd. This is now in development builds. I plan a release build soon I think.
Running Evebox as systemd service on CentOS, with elasticsearch as database, gives me an error that elasticsearch is not available upon system reboot and hence the Evebox service fails to start.
Adding to
/usr/lib/systemd/system/evebox.service
the following line under[Unit]
solves the issue:Maybe this could be included per default?
The text was updated successfully, but these errors were encountered: