Integrate a launchd config #1
Labels
No Label
in progress
kind/bug
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
lgtm/done
lgtm/need 1
lgtm/need 2
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/blocked
status/needs-feedback
status/wip
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/homebrew-gitea#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
In fact, I don't like daemon in Mac. I like
mysql.server start|stop
script. So maybe we cangitea.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 thisA 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.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
Is this info on using
launchd
located somewhere else now, given this issue is 1 year old? It's not in the Wiki or README.We haven't implement this yet.
@uhren i have no OSX but if you find the mentiont script+update or write a own one ... and make a PR we can look at
Start gitea:
Stop gitea
launchctl bootout gui/501/gitea
501 is your uid
Restart