Open tboerger opened 8 years ago
In fact, I don't like daemon in Mac. I like mysql.server start|stop
script. So maybe we can gitea.web start|stop|restart
?
We can also provide a wrapper script that can do that but I think the majority prefers the launchd script :)
launchd script should be on wiki. I have one that is working fine. I glad to contrib to this project
@bySabi please do it.
@lunny I don't know for sure, will be my first wiki on github, but probably the Wiki need to be enable on this repo and I will need write contrib rights.
@bySabi submit change as PR to README.md
, it think this would be ok place for this
A launchd service definition should be integrated in to the formula, like https://github.com/kleister/homebrew-kleister/blob/master/kleister-api.rb#L64-L89
I'm with @tboerger, a launchd plist creation must be integrated in to the formula with proper advice for launchctl load/unload PATH's for user intervention. This tips must be on wiki too, many users don't read brew installs output.
I also want to put a few general tips more appropriate for a wiki.
I would prefer basic instructions within the readme, otherwise something on the docs instead of a wiki within this repo.
Edit: You can find the docs source at https://github.com/go-gitea/gitea/tree/master/docs
@tboerger the tips that I'm talk are too brew/OSX
related and probably fit better on a wiki.
@tboerger the tips that I'm talk are too brew/OSX related and probably fit better on a wiki.
We got all documentation related to Gitea bundled on our documentation, so we can add another page dedicated to the macOS setup of Gitea.
Ah, great!!
I will take a look at doc and see how can it fit better
Since we are packaging a daemon we should also provide a script to start this service on system start.