mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixed bad logic #2482
This commit is contained in:
parent
5c1925af58
commit
a5a2ec6503
2
debian/clickhouse-server.init
vendored
2
debian/clickhouse-server.init
vendored
@ -165,7 +165,7 @@ start()
|
||||
mkdir -p $CLICKHOUSE_PIDDIR
|
||||
chown -R $CLICKHOUSE_USER:$CLICKHOUSE_GROUP $CLICKHOUSE_PIDDIR
|
||||
# Set net_admin capabilities to support ClickHouse better introspection
|
||||
su -s setcap cap_net_admin=+ep "$BINDIR/$PROGRAM"
|
||||
setcap cap_net_admin=+ep "$BINDIR/$GENERIC_PROGRAM"
|
||||
initdb
|
||||
if ! is_running; then
|
||||
# Lock should not be held while running child process, so we release the lock. Note: obviously, there is race condition.
|
||||
|
Loading…
Reference in New Issue
Block a user