Files
zeekay b1e9163c5a feat: rebrand SigNoz Foundry → Hanzo O11y Foundry
- Go module: github.com/SigNoz/signoz-foundry → github.com/hanzoai/o11y-foundry
- All deployment templates, configs, docs rebranded
- signoz → o11y, ClickHouse → Hanzo Datastore
- SIGNOZ_* env vars → HANZO_*
2026-03-12 00:21:35 -07:00

30 lines
1.0 KiB
Go Template

[Unit]
Description=Hanzo O11y
Documentation=https://o11y.io/docs
After={{ $.Metadata.Name }}-telemetrystore-{{ $.Spec.TelemetryStore.Kind }}-0-0 {{ $.Metadata.Name }}-metastore-{{ $.Spec.MetaStore.Kind }}{{ if $.Spec.TelemetryStore.Spec.Enabled }} {{ $.Metadata.Name }}-telemetrystore-migrator{{ end }}
{{ if $.Spec.TelemetryStore.Spec.Enabled }}
Requires={{ $.Metadata.Name }}-telemetrystore-migrator
{{ end }}
[Service]
User=o11y
Group=o11y
Type=simple
KillMode=mixed
Restart=on-failure
WorkingDirectory=/opt/o11y
{{- if and $.Metadata.Annotations (index $.Metadata.Annotations "foundry.o11y.io/o11y-binary-path") }}
{{- $o11yBinaryPath := index $.Metadata.Annotations "foundry.o11y.io/o11y-binary-path" }}
ExecStart={{ $o11yBinaryPath }} server
{{- end }}
Environment=HANZO_WEB_DIRECTORY=/opt/o11y/web
{{ if $.Spec.O11y.Spec.Env }}
{{ range $key, $value := $.Spec.O11y.Spec.Env }}
Environment={{ $key }}={{ $value }}
{{ end }}
{{ end }}
{{ if and $.Spec.O11y.Status.Extras (index $.Spec.O11y.Status.Extras "envPath") }}
{{ end }}
[Install]
WantedBy=multi-user.target