Files
django_lottopy/monitorN.sh
T
2022-06-15 00:15:05 +00:00

8 lines
75 B
Bash
Executable File

#!/bin/bash
pgrep nginx
if [ $? -ne 0 ]
then
rc-service nginx start
fi