Topic: autostart on linux with --serve does not work

Hi,
i run Pianoteq on odroid.
i start Pianoteq with
[ "$DISPLAY" = ":1" ] && exec /home/odroid/Pianoteq_7/Pianoteq.sh
in .vnc/xstartup

in /home/odroid/Pianoteq_7/Pianoteq.sh i run
taskset -c 2,3,4,5 /home/odroid/Pianoteq_7/arm-64bit/'Pianoteq 7' --multicore max --serve 192.168.8.18:8081 --fullscreen

Pianoteq starts at boot, but it does not run the json-rpc server. i have no idea why...

when i run the /home/odroid/Pianoteq_7/Pianoteq.sh script after boot manually, everything works fine and also the json-rpc gets started.

can anyone help me with this problem?

Re: autostart on linux with --serve does not work

christoph wrote:

can anyone help me with this problem?

Change your script to something like

date
taskset -c 2,3,4,5 /home/odroid/Pianoteq_7/arm-64bit/'Pianoteq 7' --multicore max --serve 192.168.8.18:8081 --fullscreen >> /what/ever/you/like/ptq.log

so that you can capture the output and see if there is any message coming out of it.
Also, use ps (or top, or htop) to check what is actually running, i.e. if the --serve command has been correctly passed to ptq rather than lost in a script black hole.

With that information in hand, debugging will be possible, without it's just blind guessing.

Where do I find a list of all posts I upvoted? :(

Re: autostart on linux with --serve does not work

Hi,
thanks for your advice!
i just get
"Listening for JSON-RPC on http://192.168.8.18:8081/jsonrpc"
in the log-file