Linux start script

Suggestions and Ideas about new features
Post Reply
mitch_j
Posts: 15
Joined: Tue Mar 27, 2018 5:50 am

Linux start script

Post by mitch_j »

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.

Tim
Site Admin
Posts: 1454
Joined: Sun Dec 07, 2008 1:14 pm

Re: Linux start script

Post by Tim »

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)

Post Reply