diff options
author | Patrick Williams | 2022-10-06 07:31:37 -0500 |
---|---|---|
committer | Nikias Bassen | 2023-09-18 12:25:42 +0200 |
commit | 2707534fc99e706114bcc6f6f4cfa20cc68156af (patch) | |
tree | 392b44fe75ff5e26698a05d02e21dc20dd602b9e /usbmuxd/usb-linux.c | |
parent | 56f013bd36652edb5034652dbf13719094dee45b (diff) | |
download | usbmuxd-2707534fc99e706114bcc6f6f4cfa20cc68156af.tar.gz usbmuxd-2707534fc99e706114bcc6f6f4cfa20cc68156af.tar.bz2 |
systemd: use runstatedir
On newer versions of systemd, there is an expectation that `/run` is
used instead of `/var/run`. The current service file template can
result in the following error message in the service:
```
systemd[1]: /lib/systemd/system/usbmuxd.service:7: PIDFile= references a path below legacy directory /var/run/, updating /var/run/usbmuxd.pid → /run/usbmuxd.pid; please update the unit file accordingly.
```
Prefer the `@runstatedir@` over `@localstatedir/run@` pattern as
suggested by [1].
[1]: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'usbmuxd/usb-linux.c')
0 files changed, 0 insertions, 0 deletions