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