Setup_bitable/monitor/cache/restart_service.sh
2020-11-25 11:58:05 +07:00

7 lines
210 B
Bash

#!/bin/bash
time_begin=$(date)
echo "$time_begin : restart service!!" >> /root/monitor/log/cache.txt
systemctl restart S905X_BI
echo "************************************" >> /root/monitor/log/cache.txt
exit 0