Skip to content

Commit

Permalink
openresty.rb: call service.require_root method in lieu of deprecated …
Browse files Browse the repository at this point in the history
…service.require_root method (#29)
  • Loading branch information
dubesoftware authored Feb 22, 2023
1 parent 99ef8e5 commit 00b263a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/openresty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def install
system "make", "install"
end

plist_options :manual => "openresty"
service.require_root :manual => "openresty"

def plist
<<~EOS
Expand Down

2 comments on commit 00b263a

@usrtax
Copy link

@usrtax usrtax commented on 00b263a Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Error: openresty: undefined method `require_root' for nil:NilClass

@usrtax
Copy link

@usrtax usrtax commented on 00b263a Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix in #31

Please sign in to comment.