supervisor: fix component order

This commit is contained in:
commitay 2018-04-27 10:33:18 +10:00
parent 844ebafc46
commit 51db3b0a2b

View file

@ -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]