aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* update SERVICENAME on init scriptsAvelino2016-12-022-2/+2
|
* fixed typo on rename project name scripts for windows (bat)Avelino2016-12-021-1/+1
|
* Fixed project name on scriptsAvelino2016-12-025-14/+14
|
* Rename and update init files to use "gitea" instead of "gogs"Sandro Santilli2016-11-0710-100/+100
| | | | Closes #102
* Replace GOGS with GITEA in variable namesSandro Santilli2016-11-073-19/+19
| | | | | | | | | | | | Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables as a fallback if the equivalent GITEA_* are not set, warning user about the need for change. Does not change "gogs" to "gitea" in webhook type name Because "gogs" hook type is part of the API (routes) and used in templates... Closes #87
* Dropped outdated build scriptsThomas Boerger2016-11-043-88/+0
|
* Rename all occurrences of gogs.goMatthias Loibl2016-11-043-5/+8
| | | | Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* Add a (Open)SuSE init script (#3558)Corben Dallas2016-08-311-0/+115
|
* #3393 fix missing sub-url prefix in relative avatar linkUnknwon2016-08-071-0/+1
|
* Replace gogs.io http links with https version (#3386)rugk2016-08-051-1/+1
|
* Add an OpenBSD daemon control script (#3060)Vasily Mikhaylichenko2016-07-011-0/+19
|
* Hijack #2388Unknwon2016-02-141-0/+6
|
* OS X launchd scriptAdam Strzelecki2016-01-131-0/+39
| | | | | | | | | | | | | | | | | | | | Using this script: 1. Copy scripts/launchd/io.gogs.web.plist into /Library/LaunchDaemons 2. The script assumes Gogs is running under 'gogs' user and group, modify /Library/LaunchDaemons/io.gogs.web.plist if you want to user different user. 3. The script assumes Gogs is installed in /Users/git/gogs, modify /Library/LaunchDaemons/io.gogs.web.plist if you installed Gogs in different location. 4. Once you are sure that running Gogs manually via `gogs web` works fine, run it as a launchd service with: sudo launchctl load -F /Library/LaunchDaemons/io.gogs.web.plist From now on launchd will ensure Gogs is running, eg. when system is restarted.
* Fix status command in FreeBSD init scriptKoen Wilde2016-01-091-0/+1
| | | | | | | | | | | | If the init script is called with `status`, the rc.subr(8) routines check if the first argument associated with the pid in the pidfile is equal to `procname`. By default, `procname` is equal to the value of `command`. In our case, `command` contains a space (i.e. has multiple arguments), so `procname` can never be equal to the first argument of the command associated with the pid. Set `procname` to the first argument of `command` to fix the `status` command of the init script.
* #2273 URL consistency on webhook payloadUnknwon2015-12-251-1/+1
|
* scripts: Remove less.sh superseded by MakefileAdam Strzelecki2015-12-011-4/+0
| | | | We no longer need to manually build CSS files as Makefile keeps track of it.
* finish wikiUnknwon2015-11-301-2/+1
|
* HOME fix into FreeBSD init scriptRenato Aquino2015-11-121-1/+1
|
* adding extra check on logpathT.J. Yang2015-10-311-1/+4
|
* Adding simple script to install Gogs as a Windows service.Andrey Nering2015-10-291-0/+25
|
* Set USER env variable so installation can complete successfully.Jeff Geerling2015-09-261-2/+2
|
* fix #1198Unknwon2015-07-282-47/+16
|
* Merge branch 'master' of github.com:gogits/gogs into developUnknwon2015-07-251-2/+4
|\
| * fix debian init scriptBjörn2015-06-041-2/+4
| | | | | | | | | | | | | | | | - use start-stop-daemon's chuid feature insted of su - using `su -c` breaks if the git user has no usable shell - this fixes #1025 - put --test before --exec, instead it gets passed to gogs - set cwd via --chdir
* | Merge pull request #1321 from wfriesen/freebsdinit无闻2015-07-251-1/+1
|\ \ | | | | | | Fix command used by FreeBSD init script
| * | Fix command used by FreeBSD init scriptWilliam Friesen2015-06-091-1/+1
| |/
* | Merge pull request #1262 from chadoe/systemd-env无闻2015-07-251-1/+1
|\ \ | | | | | | fix systemd "Trailing garbage, ignoring." warning.
| * | fix systemd "Trailing garbage, ignoring." warning.Martin van Beurden2015-05-091-1/+1
| |/ | | | | | | | | Environment should be a space-separated list instead of comma-separated. No need for double quoting when the values don't contain spaces.
* | Merge pull request #1185 from linquize/build-win无闻2015-07-251-2/+8
|\ \ | |/ |/| Update build.sh for Windows
| * Update build.sh for WindowsLinquize2015-06-291-2/+8
| |
* | fix typo in centos init scriptRobert Rauch2015-04-011-1/+1
|/ | | We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
* Remove use of PID and fix stderr redirectionCarlos Gutierrez2015-03-171-7/+5
|
* scripts: remove meaningless script and modify systemd serviceUnknwon2015-03-042-17/+4
|
* added less compile scriptStefan-Code2015-02-181-0/+5
|
* scripts: remove confuse scriptsUnknwon2015-02-032-3/+1
|
* Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogsClint Armstrong2015-01-301-0/+0
|
* Add freebsd rc scriptClint Armstrong2015-01-301-0/+46
|
* Allow start.sh from any working directoryClint Armstrong2015-01-171-1/+1
| | | This change to start.sh allows it to be executed from any working directory and always reference the gogs binary in the parent directory. Very helpful when calling start.sh from an init script.
* flexiable the build scripts and add a freebsd build scriptAndré Grötschel2014-12-273-39/+76
|
* add +x autoboot.shjacksonpan2014-10-131-0/+0
| | | | fix
* add auto start scriptjacksonpan2014-10-131-0/+2
| | | | | | | how to use: vim /etc/rc.local, then add cd /home/git/gogs; scripts/autoboot.sh (goes path you can replace your path)
* update the supervisor script and confjacksonpan2014-10-131-3/+8
| | | | | | | | now, we auto add the start.sh -> /usr/bin/gogs_start, then supervisor needn’t the full path, detail please see the commit. and how to use: entry gogs root path, then input scripts/gogs_supervisord.sh restart (add sudo if need)
* Merge pull request #519 from silverkorn/dev无闻2014-09-301-9/+4
|\ | | | | Debian's "init.d" - Tentative to fix user's environment variables loading
| * Debian's Init.d workaround for loading user's environment variables with ↵Danny B2014-09-301-9/+4
| | | | | | | | | | | | `start-stop-daemon` command. Implies 2 running child, so the `stop` command usually needs a `KILL` instead of a `TERM` to close properly so I reduced it to 1 second to get quickly with the `KILL` signal.
* | Merge pull request #517 from silverkorn/dev无闻2014-09-291-0/+129
|\| | | | | Added "init.d" service script for Debian-based Linux.
| * Added "init.d" service script for Debian-based Linux.Danny B2014-09-291-0/+129
| | | | | | | | | | | | | | | | Compatible with "/etc/default/gogs" configuration file for adding or overwriting values. Based on "/etc/init.d/skeleton" and tested on Raspbian 2014-06-20 (Debian 7.5 [Wheezy] ARM) [TO FIX] For some reason, it's necessary to remove the value of RUN_USER from the app.ini configuration file because the following error occurs: 2014/09/28 18:12:53 [setting.go:182 NewConfigContext()] [E] Expect user(git) but current user is:
* | s/USER/GOGS_USER/gLuca Beltrame2014-09-291-1/+1
| |
* | Add a CentOS init scriptLuca Beltrame2014-09-291-0/+92
| |
* | Clean old dockerfilesUnknwon2014-09-2813-360/+0
|/