summaryrefslogtreecommitdiffstats
path: root/scripts/init
Commit message (Collapse)AuthorAgeFilesLines
* init script gentoo (#447)Lunny Xiao2016-12-221-0/+15
| | | | | | | | | | * init script for gentoo (#3761) * replace Gogs to Gitea * remove override port number * remove port
* update SERVICENAME on init scriptsAvelino2016-12-022-2/+2
|
* Fixed project name on scriptsAvelino2016-12-022-6/+6
|
* Rename and update init files to use "gitea" instead of "gogs"Sandro Santilli2016-11-077-87/+87
| | | | 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
* Add a (Open)SuSE init script (#3558)Corben Dallas2016-08-311-0/+115
|
* Add an OpenBSD daemon control script (#3060)Vasily Mikhaylichenko2016-07-011-0/+19
|
* 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.
* HOME fix into FreeBSD init scriptRenato Aquino2015-11-121-1/+1
|
* adding extra check on logpathT.J. Yang2015-10-311-1/+4
|
* Set USER env variable so installation can complete successfully.Jeff Geerling2015-09-261-2/+2
|
* 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
* | Fix command used by FreeBSD init scriptWilliam Friesen2015-06-091-1/+1
|/
* 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
|
* Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogsClint Armstrong2015-01-301-0/+46
|
* 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