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 sd_notify support #382

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Add sd_notify support #382

merged 1 commit into from
Apr 18, 2024

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Apr 18, 2024

When running under systemd with Type=notify, the service would only report as ready after it's fully started and loaded all programs.

Fully running service:

● ebpf_exporter.service
     Loaded: loaded (/etc/systemd/system/ebpf_exporter.service; static)
     Active: active (running) since Thu 2024-04-18 03:40:41 UTC; 2min 13s ago
   Main PID: 24569 (ebpf_exporter)
     Status: "ready with 1 programs found in the config in 278ms"

When running under systemd with `Type=notify`, the service would only
report as ready after it's fully started and loaded all programs.

Fully running service:

```
● ebpf_exporter.service
     Loaded: loaded (/etc/systemd/system/ebpf_exporter.service; static)
     Active: active (running) since Thu 2024-04-18 03:40:41 UTC; 2min 13s ago
   Main PID: 24569 (ebpf_exporter)
     Status: "ready with 1 programs found in the config in 278ms"
```
@bobrik bobrik closed this Apr 18, 2024
@bobrik bobrik reopened this Apr 18, 2024
@bobrik bobrik merged commit d8ca7b1 into cloudflare:master Apr 18, 2024
36 checks passed
@bobrik bobrik deleted the ivan/sd-notify branch April 18, 2024 21:26
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.

1 participant