Change it from:
#!/bin/bash
clear
echo "************ Starting Bible Analyzer *************"
/opt/bibleanalyzer/ba-run.py
echo
read -p "Press Enter to close terminal"
to this:
#!/bin/bash
clear
echo "************ Starting Bible Analyzer *************"
/opt/bibleanalyzer/ba-run.py 2>/tmp/$0.err
This would always log errors to a file in /tmp, allowing some data for trouble shooting. It would also be overwritten with each run.
Linux start script
Re: Linux start script
This would be nice to add. Thanks.
Tim Morton
Developer, Bible Analyzer
But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Developer, Bible Analyzer
But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)