graphite-ch-optimizer icon indicating copy to clipboard operation
graphite-ch-optimizer copied to clipboard

Add systemd dependency on clickhouse-server

Open lamaral opened this issue 1 year ago • 2 comments

Without this dependency, graphite-ch-optimizer will try to start before the Clickhouse server is ready, leading to a failure to start.

lamaral avatar Apr 16 '24 09:04 lamaral

My concern was the situation when the service works remotely. But it looks like it won't be an issue

According to my research, this should not be a problem. Wants and After will happily ignore non-existing units. I also tried it on an existing server and the service started fine, even with the other unit not existing.

lamaral avatar Apr 16 '24 11:04 lamaral

Just in case, it makes sense to update the golang version too. 1.15 is a bit outdated

Felixoid avatar Apr 17 '24 11:04 Felixoid

@Felixoid good idea, a fresh build would not hurt anything 😉

Hipska avatar May 16 '24 15:05 Hipska

@lamaral are you here? =)

Felixoid avatar May 16 '24 16:05 Felixoid