hay
ich hab versucht das terminal Fenster in screen zu packen aber iwie klappt es nicht
website startet aber screen sagt
There is no screen to be resumed matching mfweb.
cron_mfweb.sh
#!/bin/bash
mfbotdir="/home/mfbot/webinterface"
binname="MainProgram.py"
cd $mfbotdir
process=` ps auxwww | grep 'MainProgram.py' | grep -v grep | awk '{ print $2 }'`
if [[ -z $process ]]; then
python3 MainProgram.py -a http://127.0.0.1:4511/ --remoteU=root --remoteP=orangepi --webU=mfbot --webP=mfbot
echo `date` started mfweb
fi
mfweb.sh
#!/bin/py
screen -mdS MainProgram.py
screen web interface
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste