linux - Error running bash script in supervisor -


i have bash script makes work supervising network stuff, works great when run manually, when put in supervisor ifs , whiles not work, stops before of programming sentences, echos, running cat, more , other things work fine, in minute put if nothing else work there on. please give me tips, need run script supervisor.

thanks etan reisner, have fix problem, put here if else have same problem see why. problem simple (as usual) reading content of text files /sys/class/net/eth0/carrier , /sys/class/net/eth0/operstate detect when network cable plugged , unplugged , doing more (i don't know why, because if ran script manually worked great) when executed in supervisor stopped execution there after first more, changed cat , it. haft day spent solve that. hope if gets kind of trouble find answer , way can solve problem fast. regards


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -