This script is meant to be placed on the desktop and run manually by double-clicking it and clicking 'run in terminal' - it will simply display the status of the Qortal core to the user, then tail the log for 10 minutes, and exit. This is meant to be used by QORTector with cron auto-start that doesn't show the Qortal icon, so that the user can still see the status.
14 lines
89 B
Bash
14 lines
89 B
Bash
#!/bin/sh
|
|
|
|
cd ~/qortal
|
|
|
|
./qort admin/status
|
|
|
|
sleep 10
|
|
|
|
tail -f log.t*
|
|
|
|
sleep 600
|
|
|
|
exit 1
|