supervisor: Fix katex_server.js path for tarball deployments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-07-15 12:09:04 -07:00 committed by Tim Abbott
parent df23ab32e0
commit a73b8a34d9
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ programs=zulip_events
<% if @katex_server %>
[program:zulip-katex]
command=/usr/local/bin/secret-env-wrapper SHARED_SECRET=shared_secret /srv/zulip-node/bin/node /home/zulip/deployments/current/static/webpack-bundles/katex_server.js <%= @katex_server_port %>
command=/usr/local/bin/secret-env-wrapper SHARED_SECRET=shared_secret /srv/zulip-node/bin/node /home/zulip/prod-static/webpack-bundles/katex_server.js <%= @katex_server_port %>
environment=NODE_ENV=production
priority=200 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)