questdb: fix RuboCop Style/TrailingBodyOnMethodDefinition.
parent
684e467a46
commit
b0fcaada20
|
@ -18,42 +18,43 @@ class Questdb < Formula
|
|||
|
||||
plist_options :manual => "questdb start"
|
||||
|
||||
def plist; <<~EOS
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>KeepAlive</key>
|
||||
def plist
|
||||
<<~EOS
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>SuccessfulExit</key>
|
||||
<false/>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
<key>SuccessfulExit</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_bin}/questdb</string>
|
||||
<string>start</string>
|
||||
<string>-d</string>
|
||||
<string>var/"questdb"</string>
|
||||
<string>-n</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>#{var}/questdb</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>#{var}/log/questdb.log</string>
|
||||
<key>StandardOutPath</key>
|
||||
<string>#{var}/log/questdb.log</string>
|
||||
<key>SoftResourceLimits</key>
|
||||
<dict>
|
||||
<key>NumberOfFiles</key>
|
||||
<integer>1024</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>#{opt_bin}/questdb</string>
|
||||
<string>start</string>
|
||||
<string>-d</string>
|
||||
<string>var/"questdb"</string>
|
||||
<string>-n</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>#{var}/questdb</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>#{var}/log/questdb.log</string>
|
||||
<key>StandardOutPath</key>
|
||||
<string>#{var}/log/questdb.log</string>
|
||||
<key>SoftResourceLimits</key>
|
||||
<dict>
|
||||
<key>NumberOfFiles</key>
|
||||
<integer>1024</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
EOS
|
||||
</plist>
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue