I have the following start script.
#!/bin/bash # MyApp # # description: bla bla case $1 in start) /bin/bash /javaprog/serport-start.sh ;; stop) /bin/bash /javaprog/serport-stop.sh ;; restart) /bin/bash /javaprog/serport-stop.sh /bin/bash /javaprog/serport-start.sh ;; esac exit 0
The problem is it doesn't start automatically (Webmin tells me that it should be, in the column "at boot?" it's marked as "yes").
If I start the script in Webmin by clicking on "start now" it works and the script starts.
Does someone know what the problem can be?