Files
NageshbansalandGitHub 35aa5ab8ce chore(systemd): derive signoz asset paths from install root via env (#127)
#### Chores

- Align the signoz assets (templates, web) with the signoz tarball
structure in systemdcasting
- Update the systemdcasting to help folks with downloading binary and
with instructions on keeping things aligned


Related: https://github.com/SigNoz/platform-pod/issues/2347
2026-05-27 02:19:58 +05:30

24 lines
757 B
Desktop File

[Install]
WantedBy=multi-user.target
[Service]
Environment=SIGNOZ_ALERTMANAGER_SIGNOZ_TEMPLATES=/opt/signoz/templates/alertmanager/*.gotmpl
Environment=SIGNOZ_EMAILING_TEMPLATES_DIRECTORY=/opt/signoz/templates/email
Environment=SIGNOZ_SQLSTORE_POSTGRES_DSN=postgres://signoz:signoz@localhost:5432/signoz?sslmode=disable
Environment=SIGNOZ_SQLSTORE_PROVIDER=postgres
Environment=SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://localhost:9000
Environment=SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse
Environment=SIGNOZ_WEB_DIRECTORY=/opt/signoz/web
ExecStart=/opt/signoz/bin/signoz server
Group=signoz
KillMode=mixed
Restart=on-failure
RestartSec=5
Type=simple
User=signoz
WorkingDirectory=/opt/signoz
[Unit]
Description=SigNoz
Documentation=https://signoz.io/docs