Skip to content

Commit

Permalink
Add systemd dependency on clickhouse-server
Browse files Browse the repository at this point in the history
Without this dependency, graphite-ch-optimizer will try to start before
the Clickhouse server is ready, leading to a failure to start.
  • Loading branch information
lamaral committed Apr 16, 2024
1 parent 2191d35 commit 2b0ac71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/graphite-ch-optimizer.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[Unit]
Description=Service to optimize stale GraphiteMergeTree tables
Wants=clickhouse-server.service
After=clickhouse-server.service
After=network.target

[Service]
Expand Down

0 comments on commit 2b0ac71

Please sign in to comment.