@agentjk ENOENT indicates “No such file or directory” thrown by the OS. IT might be the sudo program is not found due to incorrect pathspec. Also make sure the account the Pimatic daemon runs under is a member of the sudo group and has a valid pathspec in its environment.
Try: /usr/bin/sudo service pimatic restart and see if this helps
Alternatively write a small shell script ( e.g. ~/restart_pimatic with mode 755) which helps check the environment of the process:
#!/bin/sh
/usr/bin/env > ~/environment.log 2>&1
/usr/bin/sudo service pimatic restart
Then pass the script instead of the sudo service.....
command, and check the ~/environment.log
file for the PATH variable. See if the path /usr/bin is listed.
"Screw the captain. It's the engineer running the ship!"
pimatic-telegram, pimatic-tts, pimatic-woox, pimatic-lg-smart-tv, pimatic-spotify, pimatic-wakeuplight and some not-announced plugins