Ubuntu 16.04

In the terminal this command is ok:

sudo systemctl start TestSM.service

the service works in manual start, but not start at boot.

Systemd service details:


ExecStart =/home/test/inotifySendMM

WantedBy = multi-user.target

This is the error in boot log ( journalctl -b):

ubuntuVM systemd[1010]: TestSM.service: Failed at step EXEC spawning /home/test/inotifySendMM: No such file or directory
  • The error "/home/test/inotifySendMM: No such file or directory" suggests you have the wrong path to /home/test/inotifySendMM . It could be you have a separate or encypted home directory in which case you would need to put /home/test/inotifySendMM somewhere else such as /usr/local or some such. – Panther Jan 30 '18 at 15:36
  • @Panther thank you, this is the solution. I have move all in /usr/local/bin/ – pasaico Jan 31 '18 at 10:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.