Skip to main content
Topic: xf86-input-wacom uses systemd to trigger a service (Read 542 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

xf86-input-wacom uses systemd to trigger a service

xf86-input-wacom uses systemd to trigger a service

/usr/lib/udev/rules.d/wacom.conf
Code: [Select]
SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"

I think changing it to something like this should work.
Code: [Select]
SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", RUN+="/usr/bin/start-stop-daemon --start --quiet --pidfile /run/wacom-inputattach-%k.pid --make-pidfile --background --exec /usr/bin/isdv4-serial-inputattach -- /dev/%k"

Re: xf86-input-wacom uses systemd to trigger a service

Reply #1
Problem is that would only work for OpenRC

 

Re: xf86-input-wacom uses systemd to trigger a service

Reply #2
I see, I tried having eudev invoking the binary directly, but it seemed not to work.