diff --git a/login_reboot.sh b/login_reboot.sh new file mode 100644 index 0000000..6a641db --- /dev/null +++ b/login_reboot.sh @@ -0,0 +1,6 @@ +#!/bin/bash +. /etc/profile + +bash /usr/local/apache-tomcat-7.0.79/bin/shutdown.sh +sleep 1 +bash /usr/local/apache-tomcat-7.0.79/bin/startup.sh \ No newline at end of file