By the way, it depends whether you need sudo or not. On my own machine I do, but for my website I don't need sudo. Sudo is meant to give you admin-rights for that command. If your hosting your website with a hosting provider, you probably don't need sudo, so then it's:
sh ./shutdown.sh
You might create your own sh restart-script. Just copy the shutdown.sh script, name it restart.sh and adapt it to your needs.
Main Topics
Browse All Topics





by: R7AFPosted on 2007-06-06 at 00:50:59ID: 19223312
I suppose this is on a *nix system, not Windows.
1) Goto <tomcat>/bin
2) Shutdown: sudo sh ./shutdown.sh
3) Start: sudo sh ./startup.sh