|
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>
|