mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
bc74fb9027
PermissionsStartOnly has been deprecated, see https://github.com/systemd/systemd/pull/10802 and https://github.com/NixOS/nixpkgs/issues/53852 A previous change removed the use of ExecStartPre so it is no longer needed.
17 lines
356 B
Desktop File
17 lines
356 B
Desktop File
[Unit]
|
|
Description=ClickHouse Server (analytic DBMS for big data)
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=clickhouse
|
|
Group=clickhouse
|
|
Restart=always
|
|
RestartSec=30
|
|
ExecStart=/usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml
|
|
LimitCORE=infinity
|
|
LimitNOFILE=500000
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_IPC_LOCK
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|