I have been trying to get this triggercmd to work on my Raspberry Pi all afternoon.
I followed the guide above, but when I run "triggercmd", it just dumps me back to the command line with no other response.
When I try and run: /usr/share/triggercmdagent/app/src/installdaemon.sh, I get:
pi ~$ sudo /usr/share/triggercmdagent/app/src/installdaemon.sh
Failed to issue method call: Unit name triggercmdagent is not valid.
Failed to issue method call: Invalid argument
Failed to issue method call: Unit name triggercmdagent is not valid.
I also don't have a commands.json file under /root/.TRIGGERcmdData:
pi ~ $ sudo ls /root/.TRIGGERcmdData -larth
total 12K
drwx------ 5 root root 4.0K Jul 8 14:14 ..
drwxr-xr-x 2 root root 4.0K Jul 8 14:14 .
-rwxr-xr-x 1 root root 220 Jul 8 16:15 triggercmdagent.service
Any ideas?
Thanks in advance.