diff --git a/packages/clickhouse-server.service b/packages/clickhouse-server.service index 037be826b97..bff2bf8fc2d 100644 --- a/packages/clickhouse-server.service +++ b/packages/clickhouse-server.service @@ -24,6 +24,8 @@ 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 +# Bring back /etc/default/clickhouse for backward compatibility +EnvironmentFile=-/etc/default/clickhouse LimitCORE=infinity LimitNOFILE=500000 CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK CAP_SYS_NICE CAP_NET_BIND_SERVICE