A
Size: a a a
A
A
#!/bin/sh
#-*- coding: utf-8 -*-
# Exit the script on errors:
#~ set -e
#~ trap 'echo "$0 FAILED at line ${LINENO}"' ERR
# Catch unitialized variables:
set -u
bot_folder="/home/slair/lib/decepticon-bot"
while true; do
cd ${bot_folder}
hr-msg " start again "
hg update
python3 -u ./bot.py 2>&1 | ccze -A
ls "restart#*" >/dev/null 2>&1 || sleep 10
#~ python3 -u ./bot.py
if [ -f "exit" ]; then
rm "exit"
hr-msg " exiting with exit flag "
exit 0
fi
#~ sleep 11m
read -n 1 -t 15
done
A
#!/bin/sh
#-*- coding: utf-8 -*-
# Exit the script on errors:
#~ set -e
#~ trap 'echo "$0 FAILED at line ${LINENO}"' ERR
# Catch unitialized variables:
set -u
bot_folder="/home/slair/lib/decepticon-bot"
while true; do
cd ${bot_folder}
hr-msg " start again "
hg update
python3 -u ./bot.py 2>&1 | ccze -A
ls "restart#*" >/dev/null 2>&1 || sleep 10
#~ python3 -u ./bot.py
if [ -f "exit" ]; then
rm "exit"
hr-msg " exiting with exit flag "
exit 0
fi
#~ sleep 11m
read -n 1 -t 15
done
h
A
ダ
A
ダ
ダ
A
ダ
ダ
A
h
h
ダ
ダ
ダ
ダ
༼༼