mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
Merge pull request #41291 from den-crane/patch-48
make /etc/default/clickhouse compatible between systemd and initV
This commit is contained in:
commit
636994fab8
@ -47,9 +47,10 @@ CLICKHOUSE_PIDFILE="$CLICKHOUSE_PIDDIR/$PROGRAM.pid"
|
|||||||
# Some systems lack "flock"
|
# Some systems lack "flock"
|
||||||
command -v flock >/dev/null && FLOCK=flock
|
command -v flock >/dev/null && FLOCK=flock
|
||||||
|
|
||||||
# Override defaults from optional config file
|
# Override defaults from optional config file and export them automatically
|
||||||
|
set -a
|
||||||
test -f /etc/default/clickhouse && . /etc/default/clickhouse
|
test -f /etc/default/clickhouse && . /etc/default/clickhouse
|
||||||
|
set +a
|
||||||
|
|
||||||
die()
|
die()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user