Reputation: 899
I used to be able to execute on the Mac OS X (10.10.5) command line:
$ sudo service tomcat7 status
However, I must have accidentally deleted the package associated with service command and I am unable to find the name of the service package to reinstall. Any pointers would be greatly helpful.
I can't find service in either /sbin/ or /bin/ or /usr/sbin/
Upvotes: 11
Views: 34415
Reputation: 713
If you want to start mysql on OSX which is installed through brew, please use this command:
brew services start [email protected]
Update the mysql version based on the system mysql version.
Upvotes: 1
Reputation: 31145
I think you need launchctl
.
sudo launchctl load /Library/LaunchDaemons/org.apache.tomcat.plist
See https://www.joel.lopes-da-silva.com/2008/05/13/installing-tomcat-on-mac-os-x/
Upvotes: 4