Skip to content

Commit

Permalink
Services definition improvements (evcc-io#2017)
Browse files Browse the repository at this point in the history
- Don't enforce error log level
- Homebrew: define stdout, stderr and work paths
  • Loading branch information
DerAndereAndi authored Dec 11, 2021
1 parent 55ecbba commit cbc272d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,14 @@ brews:
<key>Program</key>
<string>#{bin}/evcc</string>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>
<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>
2 changes: 1 addition & 1 deletion packaging/init/evcc.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ StartLimitIntervalSec=10
StartLimitBurst=10

[Service]
ExecStart=/usr/local/bin/evcc --log error
ExecStart=/usr/local/bin/evcc
Restart=always

[Install]
Expand Down

0 comments on commit cbc272d

Please sign in to comment.