Services definition improvements (#2017)
- Don't enforce error log level - Homebrew: define stdout, stderr and work paths
This commit is contained in:
parent
55ecbbaf78
commit
cbc272d90c
2 changed files with 6 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
@ -10,7 +10,7 @@ StartLimitIntervalSec=10
|
|||
StartLimitBurst=10
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/evcc --log error
|
||||
ExecStart=/usr/local/bin/evcc
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue