diff --git a/packages/clickhouse-server.service b/packages/clickhouse-server.service index 5ea30c062b0..12c91bf6fb6 100644 --- a/packages/clickhouse-server.service +++ b/packages/clickhouse-server.service @@ -17,7 +17,8 @@ User=clickhouse Group=clickhouse Restart=always RestartSec=30 -RuntimeDirectory=%p # %p is resolved to the systemd unit name + # %p is resolved to the systemd unit name +RuntimeDirectory=%p ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=%t/%p/%p.pid # Minus means that this file is optional. EnvironmentFile=-/etc/default/%p