7 lines
210 B
Bash
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
|