Commit e06bfc6a authored by Martin Pitt's avatar Martin Pitt

Let systemd create /var/lib/upower

This directory may not exist when cleaning out /var (e. g. on stateless
systems). As upowerd cannot mkdir it by itself due to `ProtectSystem`,
let systemd create it via `StateDirectory`.

Keep `ReadWritePaths` and the `mkdir` in the Makefile to continue to
support a non-default `--historydir`.
parent 18457c99
Pipeline #22441 passed with stage
in 7 minutes and 1 second