I built a generate-daemons which contains all console/start/stop/restart scripts. And when I
started the application using sh hello-world.sh start -h 127.0.0.1 -P 3306, there were
no args passed to the main class, and I want to know how to pass the args after the hello-world.sh start
to mainClass.
I built a
generate-daemons
which contains allconsole/start/stop/restart
scripts. And when I started the application usingsh hello-world.sh start -h 127.0.0.1 -P 3306
, there were no args passed to themain
class, and I want to know how to pass the args after thehello-world.sh start
tomainClass
.Thanks a lot.