• Hello

    I trying to get the EspruinoHub.service to autostart by following the instructions on the Github page. But when i run the command I get this:

    pi@hassbian:~ $ sudo systemctl start EspruinoHub.service && sudo journalctl -f -u EspruinoHub
    -- Logs begin at Mon 2017-06-19 12:54:56 CEST. --
    Jun 20 21:44:44 hassbian EspruinoHub[23931]: readlink: missing operand
    Jun 20 21:44:44 hassbian EspruinoHub[23931]: Try 'readlink --help' for more information.
    Jun 20 21:44:44 hassbian sudo[23938]: pi : TTY=unknown ; PWD=/home/pi/EspruinoHub ; USER=root ; COMMAND=/s                                                                       bin/setcap cap_net_raw+eip
    Jun 20 21:44:44 hassbian sudo[23938]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Jun 20 21:44:44 hassbian EspruinoHub[23931]: usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|                                                                       <capsN>) <filenameN> ]
    Jun 20 21:44:44 hassbian EspruinoHub[23931]: Note <filename> must be a regular (non-symlink) file.
    Jun 20 21:44:44 hassbian sudo[23938]: pam_unix(sudo:session): session closed for user root
    Jun 20 21:44:44 hassbian EspruinoHub[23931]: /home/pi/EspruinoHub/start.sh: line 9: node: command not foun                                                                       d
    Jun 20 21:44:44 hassbian systemd[1]: EspruinoHub.service: main process exited, code=exited, status=127/n/a
    Jun 20 21:44:44 hassbian systemd[1]: Unit EspruinoHub.service entered failed state.
    

    I can run the start.sh file normally by

    ./start.sh
    

    and everyhting works as promised but I just can't get the systemdb to work.
    Any ideas?

    Edit: EspruinoHub is installed in /home/pi/EspruinoHub.

About

Avatar for Trisk3lion @Trisk3lion started