You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
if [ $(whoami)="root" ]
thenif [ "x${JQM_SERVICE_ACCOUNT}"="x" ]
thenecho"Defaulting to account jqm for running the script. Set JQM_SERVICE_ACCOUNT to use a different account."
JQM_SERVICE_ACCOUNT="jqm"fiecho"Re-launching script as ${JQM_SERVICE_ACCOUNT}"
su - ${JQM_SERVICE_ACCOUNT} -c "export JQM_NODE=\${JQM_NODE:-${JQM_NODE}}; $(pwd -P)/$(basename $0)$*"exit$?fi
It's failing because $(basename $0) it getting resolved as jqm not jqm.sh.
Thanks,
The text was updated successfully, but these errors were encountered:
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,
The text was updated successfully, but these errors were encountered: