The idea is to use a variable pointing to node instead of hardcoded path, my solution was this ExecStart="$(which node)" /home/jonma/Development/chewy
But when I run the service I get the following error:
feb 08 11:12:51 jonma-VirtualBox systemd[1]: [/lib/systemd/system/chewy.service:2] Executable path is not absolute, ignoring: $(which node) /home/jon
feb 08 11:12:51 jonma-VirtualBox systemd[1]: chewy.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
How can I achieve this without hardcoding the path?