mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 03:53:41 +00:00
Merge pull request #47003 from ClickHouse/systemd-service-env
Use /etc/default/clickhouse in systemd too
This commit is contained in:
commit
c3788084bb
@ -24,6 +24,8 @@ RuntimeDirectory=%p
|
|||||||
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=%t/%p/%p.pid
|
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=%t/%p/%p.pid
|
||||||
# Minus means that this file is optional.
|
# Minus means that this file is optional.
|
||||||
EnvironmentFile=-/etc/default/%p
|
EnvironmentFile=-/etc/default/%p
|
||||||
|
# Bring back /etc/default/clickhouse for backward compatibility
|
||||||
|
EnvironmentFile=-/etc/default/clickhouse
|
||||||
LimitCORE=infinity
|
LimitCORE=infinity
|
||||||
LimitNOFILE=500000
|
LimitNOFILE=500000
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK CAP_SYS_NICE CAP_NET_BIND_SERVICE
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK CAP_SYS_NICE CAP_NET_BIND_SERVICE
|
||||||
|
Loading…
Reference in New Issue
Block a user