Files
mesh-catalog/modules/triggerhappy/files/service.conf
T

9 lines
531 B
Plaintext

# Written by the mesh (module triggerhappy, novox/hq ADR 0212). Replaced on every push.
#
# The daemon opens the input devices as root, then drops to the operator's account with its groups,
# so every trigger runs as the account: it reaches the account's session bus and display, with no su
# and no hard-coded user. Only the mesh's trigger file is read.
[Service]
ExecStart=
ExecStart=/usr/bin/thd --triggers /etc/triggerhappy/triggers.d/mesh.conf --socket /run/thd.socket --user ${machine:account} --deviceglob /dev/input/event*