| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 21 hours | build: improve portability and auto-detect udev/systemd | 1 | -5/+5 | ||
| - Use POSIX `=` instead of `==` in test expressions - Always recurse into udev/ and systemd/ via SUBDIRS and guard their contents with the WANT_UDEV/WANT_SYSTEMD automake conditionals, so that make dist keeps shipping the .in files (EXTRA_DIST is kept outside the guards) - Add --with-udev[=yes|no|auto] (default: auto). Auto enables udev on non-Windows/non-macOS hosts if udev.pc is found, a udev rules directory exists (native builds), or when cross-compiling for Linux - Disable systemd support if no systemd unit directory can be found, so the udev rule and HAVE_SYSTEMD no longer claim systemd activation when no unit is installed - Do not call pkg-config for udevdir/systemdsystemunitdir if it is unavailable - Report the actual activation method (systemd, udev or manual) in the configure summary Co-authored-by: Nikias Bassen <nikias@gmx.li> | |||||
| 2023-09-18 | systemd: use runstatedir | 2 | -2/+2 | ||
| 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> | |||||
| 2014-11-21 | systemd: Remove Type option from service file as it already defaults to simple | 1 | -1/+0 | ||
| 2014-11-21 | systemd: Add documentation reference to unit file | 1 | -0/+1 | ||
| 2014-10-16 | Rename HAVE_SYSTEMD conditional into WANT_SYSTEMD | 1 | -1/+1 | ||
| 2014-10-14 | systemd: Use new "--systemd" and fix multiple device handling with systemd | 1 | -1/+1 | ||
| 2014-09-19 | Add systemd activation autofoo with fallback for udev and manual activation | 2 | -0/+28 | ||
