Services definition improvements (#2017)

- Don't enforce error log level
- Homebrew: define stdout, stderr and work paths
This commit is contained in:
Andreas Linde 2021-12-11 12:00:44 +01:00 • committed by GitHub
parent 55ecbbaf78
commit cbc272d90c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

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

View file

@ -10,7 +10,7 @@ StartLimitIntervalSec=10
StartLimitBurst=10
[Service]
ExecStart=/usr/local/bin/evcc --log error
ExecStart=/usr/local/bin/evcc
Restart=always
[Install]