/lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd

/lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd

 

In order to resolve the above error I had to do the following steps:

sudo cp /lib/systemd/system/gammu-smsd.service /etc/systemd/system/

// Edit line number 9

sudo gedit /etc/systemd/system/gammu-smsd.service +9

Enter the absolute path in within that file in my case:

ExecStart=/usr/bin/gammu-smsd --pid=/var/run/gammu-smsd.pid --daemon

So remove the following it looks something like:

${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd

And replace that with the absolute path.

 

done!!

 

https://superuser.com/questions/1549054/broken-or-misconfigured-gammu-smsd-on-kali