Skip to content

Commit

Permalink
Add log/ dir creation workaround
Browse files Browse the repository at this point in the history
[skip actions]
  • Loading branch information
traceon committed Jul 15, 2022
1 parent e8c3797 commit 515f32a
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/clickhouse@21.11.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@21.12.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@21.8-altinity-stable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down
3 changes: 3 additions & 0 deletions Formula/clickhouse@22.6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def install
end

def post_install
# WORKAROUND: .../log/ dir is not bottled, looks like.
mkdir_p var/"log/clickhouse-server"

# Fix the permissions when deploying.
Dir.glob([
etc/"clickhouse-server/**/*",
Expand Down

0 comments on commit 515f32a

Please sign in to comment.