Open deiv opened 4 years ago
Could you give the exact error message you get and the shell used by the JQM_SERVICE_ACCOUNT
account?
Hi,
Error and shell:
-bash: /home/jqm/jqm-2.2.2/jqm: No existe el fichero o el directorio
In my setup, I have the following soft links:
I just tested, this should work ok.
Can you check /etc/init.d/jqm
actually links to the shell script with \ls -l /etc/init.d/jqm
?
Here we go:
lrwxrwxrwx 1 root root 20 Jan 22 11:42 /etc/init.d/jqm -> /home/jqm/jqm/jqm.sh
If jqm.sh is symlinked in /etc/init.d (as documentation states):
ln -s $JQM_ROOT/jqm.sh /etc/init.d/jqm
And started as root. It fails because the relaunching of the script, cant resolve the real filename of the script. Affected code:
It's failing because
$(basename $0)
it getting resolved as jqm not jqm.sh.Thanks,