mailiverse/deploy/tomcat-restart

7 lines
107 B
Plaintext
Executable File

source ./config.hosts
server=$M_HOST_PROD
echo restarting...
ssh tomcat@$server "cd deploy && ./restart"