Update Service-check.sh
This commit is contained in:
parent
54642c3234
commit
d14ea05f9b
@ -4,6 +4,8 @@ wait
|
||||
service webmin start
|
||||
service smbd start
|
||||
service nmbd start
|
||||
ln -s /data/samba /etc/samba
|
||||
ln -s /data/webmin /etc/webmin
|
||||
while true
|
||||
do
|
||||
if [[ $(service webmin status) = *stopped* ]]
|
||||
@ -12,4 +14,4 @@ break
|
||||
else
|
||||
sleep 5m
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user