aboutsummaryrefslogtreecommitdiff
path: root/scripts/init
Commit message (Collapse)AuthorAge
* shellcheck: fix warnings (#6274)ᴜɴᴋɴᴡᴏɴ2020-08-23
| | | | | * Remove outdated files * Fix warnings
* scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking ↵mb2019-09-19
| | | | | | as user. (#5806) Added wait for SQL as it may take more time to start up on a router: make sure you configure this before using. Proper Start/Stop/Reset is now implemented.
* scripts: ddwrt / entware init script (#5795)mb2019-09-18
|
* scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for ↵Credomane Evonguard2017-06-14
| | | | database (#4561)
* Simplify descriptionUnknwon2017-02-15
|
* init script for gentoo (#3761)afilippov19852016-12-21
|
* Add a (Open)SuSE init script (#3558)Corben Dallas2016-08-31
|
* Add an OpenBSD daemon control script (#3060)Vasily Mikhaylichenko2016-07-01
|
* Fix status command in FreeBSD init scriptKoen Wilde2016-01-09
| | | | | | | | | | | | 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-12
|
* adding extra check on logpathT.J. Yang2015-10-31
|
* Set USER env variable so installation can complete successfully.Jeff Geerling2015-09-26
|
* Merge branch 'master' of github.com:gogits/gogs into developUnknwon2015-07-25
|\
| * fix debian init scriptBjörn2015-06-04
| | | | | | | | | | | | | | | | - 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-09
|/
* fix typo in centos init scriptRobert Rauch2015-04-01
| | | We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
* Remove use of PID and fix stderr redirectionCarlos Gutierrez2015-03-17
|
* Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogsClint Armstrong2015-01-30
|
* Merge pull request #519 from silverkorn/dev无闻2014-09-30
|\ | | | | 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-30
| | | | | | | | | | | | `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-29
|\| | | | | Added "init.d" service script for Debian-based Linux.
| * Added "init.d" service script for Debian-based Linux.Danny B2014-09-29
| | | | | | | | 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-29
|
* Add a CentOS init scriptLuca Beltrame2014-09-29