![]() ![]() If thenĮcho "" echo "DEPLOY CONFIGURATION" sudo -u tomcat ant deploy-configurationĮcho "" #Start Tomcat cd " $TOMCAT /bin" sudo -u tomcat. This functionality can be enabled in /etc/sudoers file.Īnd add the following line git ALL = (tomcat) NOPASSWD: ALL To allow the deployments, which involve stopping and starting Tomcat server, git user should be able to run tomcat as tomcat user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |