Skip to content

Building with systemd support? #5296

Answered by garlick
wkharold asked this question in Q&A
Discussion options

You must be logged in to vote

Ah sorry about that.

When configuring flux, the libsystemd development package would also need to be present so it can find the pkg-config file. I assume that's why flux is reporting that it wasn't built with systemd support?

The systemd unit file adds the -Sbroker.sd_notify=1 option to the broker command line so if you like you could just drop that, but if you can rebuild with systemd support, then you can get more information from systemctl status, e.g. the "leader" line below. During startup that message reflects the current broker status, so if it gets stuck, the idea is that it might be helpful:

flux.service - Flux message broker
     Loaded: loaded (/lib/systemd/system/flux.service;…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wkharold
Comment options

You must be logged in to vote
1 reply
@garlick
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants