supervisor: fix component order
This commit is contained in:
parent
844ebafc46
commit
51db3b0a2b
1 changed files with 5 additions and 5 deletions
|
@ -34,6 +34,11 @@ class Supervisor < Formula
|
|||
etc.install buildpath/"supervisor/skel/sample.conf" => "supervisord.ini"
|
||||
end
|
||||
|
||||
def post_install
|
||||
(var/"run").mkpath
|
||||
(var/"log").mkpath
|
||||
end
|
||||
|
||||
plist_options :manual => "supervisord -c #{HOMEBREW_PREFIX}/etc/supervisord.ini"
|
||||
|
||||
def plist
|
||||
|
@ -61,11 +66,6 @@ class Supervisor < Formula
|
|||
EOS
|
||||
end
|
||||
|
||||
def post_install
|
||||
(var/"run").mkpath
|
||||
(var/"log").mkpath
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"sd.ini").write <<~EOS
|
||||
[unix_http_server]
|
||||
|
|
Loading…
Reference in a new issue