Skip to content

Commit 5622553

Browse files
authored
smf: update PATH for clustered clickhouse. (#9284)
We put the clickhouse binary in /opt/oxide/clickhouse for single-node clickhouse, but in /opt/oxide/clickhouse_server for clustered clickhouse. This patch adds the latter path to $PATH so that the clickhouse binary is in the path for both single-node and clustered clickhouse topologies. @bnaecker, do you know if I made this change in the right place? Full disclosure: I just looked around the codebase for lines that add clickhouse binaries to PATH and guessed that this did the right thing.
1 parent 6510e87 commit 5622553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smf/profile/profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ case "$HOSTNAME" in
1313
PATH+=:/opt/oxide/crucible/bin
1414
;;
1515
oxz_clickhouse*)
16-
PATH+=:/opt/oxide/clickhouse:/opt/oxide/clickhouse_keeper
16+
PATH+=:/opt/oxide/clickhouse:/opt/oxide/clickhouse_server:/opt/oxide/clickhouse_keeper
1717
;;
1818
oxz_external_dns*|oxz_internal_dns*)
1919
PATH+=:/opt/oxide/dns-server/bin

0 commit comments

Comments
 (0)