diff options
| author | 2018-01-14 02:10:18 -0800 | |
|---|---|---|
| committer | 2018-01-31 01:08:58 +0100 | |
| commit | 7f54d304149f405dc70ac924471df0d5e3e5ea09 (patch) | |
| tree | 86925888a0979eb4a67174142e9edb1bbbc1447a /configure.ac | |
| parent | 27cbec8e00b2da5ac0514c76473d6d0b0164ab6f (diff) | |
| download | usbmuxd-7f54d304149f405dc70ac924471df0d5e3e5ea09.tar.gz usbmuxd-7f54d304149f405dc70ac924471df0d5e3e5ea09.tar.bz2 | |
udev: ensure that all events relating to device are tagged systemd
systemd will not restart the usbmuxd service the after the first time it
is plugged in if it does not receive the "remove" events, which also
happen to lack the idVendor and idProduct attributes, so use
ENV{PRODUCT} instead.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b836f45..1ce46d8 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -74,7 +74,7 @@ fi | |||
| 74 | AM_CONDITIONAL(WANT_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a "x$with_systemd" = "xyes" ]) | 74 | AM_CONDITIONAL(WANT_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a "x$with_systemd" = "xyes" ]) |
| 75 | 75 | ||
| 76 | if test "x$with_systemd" = xyes; then | 76 | if test "x$with_systemd" = xyes; then |
| 77 | udev_activation_rule="TAG+=\"systemd\", ENV{SYSTEMD_WANTS}=\"usbmuxd.service\"" | 77 | udev_activation_rule="ENV{SYSTEMD_WANTS}=\"usbmuxd.service\"" |
| 78 | else | 78 | else |
| 79 | udev_activation_rule="RUN+=\"@sbindir@/usbmuxd --user usbmux --udev\"" | 79 | udev_activation_rule="RUN+=\"@sbindir@/usbmuxd --user usbmux --udev\"" |
| 80 | fi | 80 | fi |
