I'm on Ubuntu 16.04 I'm trying to use the 'Startup Applications' program to run an .sh script to launch a 'Vertcoin' wallet v0.11.1.0
I found the answer to a similar problem what to get the script to delete a .lock file. I've done so but it doesn't effect anything. Contents of my .sh file that 'Startup Applications' runs upon startup.
#!/bin/bash
sleep 2
rm ~/.vertcoin/.lock
gnome-terminal -e
./vert/vertcoin-qt
When restarting the program (which is a crypto wallet) displays the the usual startup box but with the error messege... "Unable to start HTTP server. See debug log for details."
The 'debug log' says...
Open database handle: wallet.dat/main
Database handles still open at environment close
Open database handle: wallet.dat/main
Database handles still open at environment close
Open database handle: wallet.dat/main
Database handles still open at environment close
I've tried more elaborate commands in the .sh file such as
#!/bin/bash
rm ~/.vertcoin/.lock
sleep 2
gnome-terminal -e
./vert/vertcoin-qt
killall ./vert/vertcoin-qt
sleep 2
./vert/vertcoin-qt
Typing 'killall ./vert/vertcoin-qt' then './vert/vertcoin-qt' manually starts the wallet. But it gives the same type of error in the .sh script when run at startup. What process should be killed or started in my .sh script that will allow the wallet to start?
gnome-terminal -e
will not run in the newgnome-terminal
. Using the-e
command, you should put the commands on the same line likegnome-terminal -e './vert/vertcoin-qt; killall ./vert/vertcoin-qt; sleep 2; ./vert/vertcoin-qt'