tigase / homebrew-tigase

Tigase's Homebrew repository
https://tigase.net
Apache License 2.0
2 stars 2 forks source link

Add tigase-server to `brew services` #15

Open michaelblyons opened 3 years ago

michaelblyons commented 3 years ago

I only add this issue as a "this is possible" thing. It's not something I would use myself—I'm not going to run my XMPP server on my laptop.

Since tigase is a command-line program, if it can run on MacOS, you could create a formula (probably not a Cask?) for it. Furthermore, you can create a "service" for it in Homebrew. This lets the service define its start/stop steps, its status, and lets it begin either at boot or at user login.

$ brew services
Name       Status  User Plist
beanstalkd stopped
mysql      started me   /Users/me/Library/LaunchAgents/homebrew.mxcl.mysql.plist
redis      stopped

$ brew services stop mysql
Stopping `mysql`... (might take a while)
==> Successfully stopped `mysql` (label: homebrew.mxcl.mysql)

How does this help your company? I'm not sure. 🤷 I imagine it lets Mac users easily install a version of your flagship software to see what it is like... but I doubt anyone will use it as anything more than a toy or an eval.

woj-tek commented 3 years ago

Thank you for the suggestion. We will consider it, however for the exploratory runs we recommend using our Docker images (GitHub and DockerHub)