chore: change goreleaser from plist to service (#6899)
This commit is contained in:
parent
ec8c763106
commit
0b7b9f3ba2
1 changed files with 6 additions and 21 deletions
|
|
@ -97,24 +97,9 @@ brews:
|
|||
license: "MIT"
|
||||
test: |
|
||||
system "#{bin}/evcc --version"
|
||||
plist: |
|
||||
<?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>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{bin}/evcc</string>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>#{var}</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>StandardOutPath</key>
|
||||
<string>#{var}/log/evcc.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>#{var}/log/evcc.log</string>
|
||||
</dict>
|
||||
</plist>
|
||||
service: |
|
||||
run [opt_bin/"evcc"]
|
||||
working_dir HOMEBREW_PREFIX
|
||||
keep_alive true
|
||||
log_path var/"log/evcc.log"
|
||||
error_log_path var/"log/evcc.log"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue