mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 13:05:50 +01:00
Merge pull request #237 from hanxue/osx
Add plist launcher for OS X and installation instructions
This commit is contained in:
@@ -49,6 +49,14 @@ To upgrade GitBucket, only replace gitbucket.war. All GitBucket data is stored i
|
|||||||
|
|
||||||
For Installation on Windows Server with IIS see [this wiki page](https://github.com/takezoe/gitbucket/wiki/Installation-on-IIS-and-Helicontech-Zoo)
|
For Installation on Windows Server with IIS see [this wiki page](https://github.com/takezoe/gitbucket/wiki/Installation-on-IIS-and-Helicontech-Zoo)
|
||||||
|
|
||||||
|
### Mac OS X
|
||||||
|
On OS X, copy the `gitbucket.plist` file to `~/Library/LaunchAgents/`
|
||||||
|
|
||||||
|
Run the following commands in `Terminal` to
|
||||||
|
|
||||||
|
- start gitbucket: `launchctl load ~/Library/LaunchAgents/gitbucket.plist`
|
||||||
|
- stop gitbucket: `launchctl unload ~/Library/LaunchAgents/gitbucket.plist`
|
||||||
|
|
||||||
Release Notes
|
Release Notes
|
||||||
--------
|
--------
|
||||||
### 1.8 - 30 Nov 2013
|
### 1.8 - 30 Nov 2013
|
||||||
|
|||||||
20
gitbucket.plist
Normal file
20
gitbucket.plist
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Label</key>
|
||||||
|
<string>gitbucket</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/usr/bin/java</string>
|
||||||
|
<string>-Dmail.smtp.starttls.enable=true</string>
|
||||||
|
<string>-jar</string>
|
||||||
|
<string>gitbucket.war</string>
|
||||||
|
<string>--host=127.0.0.1</string>
|
||||||
|
<string>--port=8080</string>
|
||||||
|
<string>--https=true</string>
|
||||||
|
</array>
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Reference in New Issue
Block a user