I have installed tomcat from brew. It works fine but whenever I need to start or stop tomcat I need to go to the tomcat folder with catalina and start and stop it from there. I know I could simply do this with "brew services start tomcat" but I get:
Error: Formula `tomcat` has not implemented #plist or installed a locatable .plist file
brew services list gives:
Warning: No services available to control with `brew services`
My question is: How do I add tomcat to brew services?
Best Answer
The tomcat formula is now able to start and stop tomcat with:
and
Thanks to Maxime Faye and this commit.
Run:
to obtain this new feature.
== Old answer
Here is the modified formula coming from the closed pull request mentioned in the comments. You can
brew edit tomcat
, replace the whole content and thenbrew upgrade tomcat
. I've tested it and it works well. Hopefully, it will be soon merged in the master branch.