mirror of
https://github.com/MTSGJ/opensim.currency.git
synced 2026-07-27 21:10:39 +00:00
check server script
This commit is contained in:
@@ -21,9 +21,7 @@ DT=`date +%Y-%m-%d" "%T`
|
||||
|
||||
if ! nc -z -w $TIMEOUT $HOST $PORT; then
|
||||
echo $DT" ERROR - Money Server Https Port is stopped." >> $LOGFL
|
||||
/usr/bin/tmux send-keys -t opensim_money C-m "quit" C-m
|
||||
sleep 5
|
||||
systemctl start opensim_money.net.service
|
||||
systemctl restart opensim_money.net.service
|
||||
exit 1
|
||||
else
|
||||
echo $DT" INFO - Money Server Https Port is checked." >> $LOGFL
|
||||
|
||||
Reference in New Issue
Block a user