Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Integrate a launchd config #1

Open
tboerger opened this issue Nov 28, 2016 · 12 comments
Open

Integrate a launchd config #1

tboerger opened this issue Nov 28, 2016 · 12 comments

Comments

@tboerger
Copy link
Member

tboerger commented Nov 28, 2016

Since we are packaging a daemon we should also provide a script to start this service on system start.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@lunny
Copy link
Member

lunny commented Nov 28, 2016

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?

@tboerger
Copy link
Member Author

We can also provide a wrapper script that can do that but I think the majority prefers the launchd script :)

@bySabi
Copy link

bySabi commented Dec 1, 2017

launchd script should be on wiki. I have one that is working fine.
I glad to contrib to this project

@lunny
Copy link
Member

lunny commented Dec 1, 2017

@bySabi please do it.

@bySabi
Copy link

bySabi commented Dec 1, 2017

@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.

@lafriks
Copy link
Member

lafriks commented Dec 1, 2017

@bySabi submit change as PR to README.md, it think this would be ok place for this

@tboerger
Copy link
Member Author

tboerger commented Dec 1, 2017

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

@bySabi
Copy link

bySabi commented Dec 1, 2017

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.

@tboerger
Copy link
Member Author

tboerger commented Dec 1, 2017

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

@bySabi
Copy link

bySabi commented Dec 1, 2017

@tboerger the tips that I'm talk are too brew/OSX related and probably fit better on a wiki.

@tboerger
Copy link
Member Author

tboerger commented Dec 1, 2017

@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.

@bySabi
Copy link

bySabi commented Dec 1, 2017

Ah, great!!

I will take a look at doc and see how can it fit better

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants