File tree Expand file tree Collapse file tree
i18n/en/docusaurus-plugin-content-docs/current/installation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,11 +231,20 @@ Du kannst das Verhalten über eine Override-Datei anpassen:
231231sudo systemctl edit evcc
232232```
233233
234+ :::warning
235+ Bearbeite nicht direkt ` /lib/systemd/system/evcc.service ` .
236+ Diese Datei wird bei jedem Paket-Update durch ` apt ` überschrieben und deine Änderungen gehen verloren.
237+ Verwende stattdessen immer einen systemd Drop-in über ` systemctl edit evcc ` .
238+ :::
239+
234240### Beispiel
235241
236242``` ini title="/etc/systemd/system/evcc.service.d/override.conf"
237243[Service]
238244Environment =" EVCC_LOG=debug,tariff:trace"
245+ Environment =" EVCC_DATABASE_DSN=/usb/evcc/evcc.db"
246+ Environment =" EVCC_NETWORK_HOST=my-evcc.local"
247+ Environment =" EVCC_NETWORK_PORT=80"
239248ExecStart =
240249ExecStart =/usr/bin/evcc --custom-css /path/to/my.css
241250```
Original file line number Diff line number Diff line change @@ -232,11 +232,20 @@ You can customize the behavior using an override file:
232232sudo systemctl edit evcc
233233```
234234
235+ :::warning
236+ Don't edit ` /lib/systemd/system/evcc.service ` directly.
237+ That file is overwritten by ` apt ` on every package update and your changes will be lost.
238+ Always use a systemd drop-in via ` systemctl edit evcc ` instead.
239+ :::
240+
235241### Example
236242
237243``` ini title="/etc/systemd/system/evcc.service.d/override.conf"
238244[Service]
239245Environment =" EVCC_LOG=debug,tariff:trace"
246+ Environment =" EVCC_DATABASE_DSN=/usb/evcc/evcc.db"
247+ Environment =" EVCC_NETWORK_HOST=my-evcc.local"
248+ Environment =" EVCC_NETWORK_PORT=80"
240249ExecStart =
241250ExecStart =/usr/bin/evcc --custom-css /path/to/my.css
242251```
You can’t perform that action at this time.
0 commit comments