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 af716ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/graphite-ch-optimizer.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=Service to optimize stale GraphiteMergeTree tables
After=network.target
After=network.target clickhouse-server.service
Wants=clickhouse-server.service

[Service]
Type=simple
Expand Down

0 comments on commit af716ef

Please sign in to comment.