Linux start script

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

Linux start script

Postby mitch_j » Fri Apr 06, 2018 2:16 pm

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: 1068
Joined: Sun Dec 07, 2008 1:14 pm

Re: Linux start script

Postby Tim » Fri Apr 06, 2018 2:53 pm

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)


Return to “Comments & Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests

cron