Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/installation/linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,20 @@ Du kannst das Verhalten über eine Override-Datei anpassen:
sudo systemctl edit evcc
```

:::warning
Bearbeite nicht direkt `/lib/systemd/system/evcc.service`.
Diese Datei wird bei jedem Paket-Update durch `apt` überschrieben und deine Änderungen gehen verloren.
Verwende stattdessen immer einen systemd Drop-in über `systemctl edit evcc`.
:::

### Beispiel

```ini title="/etc/systemd/system/evcc.service.d/override.conf"
[Service]
Environment="EVCC_LOG=debug,tariff:trace"
Environment="EVCC_DATABASE_DSN=/usb/evcc/evcc.db"
Environment="EVCC_NETWORK_HOST=my-evcc.local"
Environment="EVCC_NETWORK_PORT=80"
ExecStart=
ExecStart=/usr/bin/evcc --custom-css /path/to/my.css
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,20 @@ You can customize the behavior using an override file:
sudo systemctl edit evcc
```

:::warning
Don't edit `/lib/systemd/system/evcc.service` directly.
That file is overwritten by `apt` on every package update and your changes will be lost.
Always use a systemd drop-in via `systemctl edit evcc` instead.
:::

### Example

```ini title="/etc/systemd/system/evcc.service.d/override.conf"
[Service]
Environment="EVCC_LOG=debug,tariff:trace"
Environment="EVCC_DATABASE_DSN=/usb/evcc/evcc.db"
Environment="EVCC_NETWORK_HOST=my-evcc.local"
Environment="EVCC_NETWORK_PORT=80"
ExecStart=
ExecStart=/usr/bin/evcc --custom-css /path/to/my.css
```
Expand Down
Loading