Artix Linux Forum

Artix Linux => System => Topic started by: 0xReki on 12 November 2020, 21:25:29

Title: xf86-input-wacom uses systemd to trigger a service
Post by: 0xReki on 12 November 2020, 21:25:29
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"
Title: Re: xf86-input-wacom uses systemd to trigger a service
Post by: ndowens on 12 November 2020, 22:17:19
Problem is that would only work for OpenRC
Title: Re: xf86-input-wacom uses systemd to trigger a service
Post by: 0xReki on 13 November 2020, 14:19:23
I see, I tried having eudev invoking the binary directly, but it seemed not to work.