fix homebrew formula again, other two vars

This commit is contained in:
Cody Lee 2025-04-30 16:24:41 -05:00
parent 0ae46889d8
commit 4040203ff8
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -540,8 +540,8 @@ brews:
service: |
run ["#{opt_bin}/unpoller", "--config", "#{etc}/unpoller/up.conf"]
keep_alive true
log_path var/"log/unpoller.log"
error_log_path var/"log/unpoller.log"
log_path "#{var}/log/unpoller.log"
error_log_path "#{var}/log/unpoller.log"
url_template: "https://github.com/unpoller/unpoller/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
test: |
assert_match "unpoller v#{version}", shell_output("#{bin}/unpoller -v 2>&1", 2)