2
0
Commit Graph

64 Commits

Author SHA1 Message Date
Thomas Boerger
d1bd7b28eb Make sure both scripts/ can live side by side (#1264) 2017-03-15 16:11:26 +01:00
Thomas Boerger
26a4c1546e Synced licenses with github repo (#1246)
* Added script to download licenses from github

* Synced licenses with github repo
2017-03-15 13:30:16 +01:00
Thomas Boerger
97048734bc Synced gitignores with github repo (#1245)
* Renamed scripts directory into contrib

* Added script to download gitignores from github

* Synced gitignores with github repo
2017-03-15 13:30:00 +01:00
Lunny Xiao
8ab0297671 fix scripts/mysql.sql from gogs to gitea (#1161) 2017-03-09 22:31:46 +08:00
Bo-Yi Wu
76950724bd refactor: update debian script. (#965) 2017-02-18 18:23:37 +08:00
Bwko
dc84bf557e Added gogs migration script (#532) 2017-01-25 10:45:29 +08:00
Lunny Xiao
33a3d8e1f8 init script gentoo (#447)
* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
2016-12-22 10:39:17 +01:00
Avelino
b757330b71 update SERVICENAME on init scripts 2016-12-02 15:52:28 -02:00
Avelino
509833d69f fixed typo on rename project name scripts for windows (bat) 2016-12-02 03:51:34 -02:00
Avelino
09428e7594 Fixed project name on scripts 2016-12-02 03:18:58 -02:00
Sandro Santilli
e224f03a1c Rename and update init files to use "gitea" instead of "gogs"
Closes #102
2016-11-07 16:06:21 +01:00
Sandro Santilli
d90e33d6df Replace GOGS with GITEA in variable names
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
2016-11-07 16:05:18 +01:00
Thomas Boerger
7d6eb35e11 Dropped outdated build scripts 2016-11-04 23:46:11 +01:00
Matthias Loibl
33ea39d6b6 Rename all occurrences of gogs.go
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2016-11-04 13:49:10 +01:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Corben Dallas
aec5f52227 Add a (Open)SuSE init script (#3558) 2016-08-31 14:04:21 -07:00
Unknwon
99728407d4 #3393 fix missing sub-url prefix in relative avatar link 2016-08-07 10:13:05 -07:00
rugk
be909fcc1c Replace gogs.io http links with https version (#3386) 2016-08-05 17:35:40 -07:00
Vasily Mikhaylichenko
70e80fbde0 Add an OpenBSD daemon control script (#3060) 2016-07-01 22:24:41 +08:00
Unknwon
689339d461 Hijack #2388 2016-02-14 20:19:00 -05:00
Adam Strzelecki
14d1b417cd OS X launchd script
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.
2016-01-13 19:32:07 +01:00
Koen Wilde
aaf5ef1e4c Fix status command in FreeBSD init script
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.
2016-01-09 13:31:45 +01:00
Unknwon
4e39815e42 #2273 URL consistency on webhook payload 2015-12-25 07:11:58 -05:00
Adam Strzelecki
5e1f1b598f scripts: Remove less.sh superseded by Makefile
We no longer need to manually build CSS files as Makefile keeps track of it.
2015-12-01 22:28:21 +01:00
Unknwon
05e2641b27 finish wiki 2015-11-30 20:45:55 -05:00
Renato Aquino
b04a6276ed HOME fix into FreeBSD init script 2015-11-12 15:36:35 -02:00
T.J. Yang
0aba92fae0 adding extra check on logpath 2015-10-31 07:32:34 -05:00
Andrey Nering
1df490655b Adding simple script to install Gogs as a Windows service. 2015-10-29 08:05:50 -02:00
Jeff Geerling
c39921ab27 Set USER env variable so installation can complete successfully. 2015-09-26 23:33:53 -05:00
Unknwon
6af88a545d fix #1198 2015-07-28 15:30:14 +08:00
Unknwon
f9322b2fc5 Merge branch 'master' of github.com:gogits/gogs into develop 2015-07-25 00:48:42 +08:00
无闻
441b81726e Merge pull request #1321 from wfriesen/freebsdinit
Fix command used by FreeBSD init script
2015-07-25 00:46:52 +08:00
无闻
7debb74ccf Merge pull request #1262 from chadoe/systemd-env
fix systemd "Trailing garbage, ignoring." warning.
2015-07-25 00:42:14 +08:00
无闻
1990ce6518 Merge pull request #1185 from linquize/build-win
Update build.sh for Windows
2015-07-25 00:36:57 +08:00
Linquize
7a62223ecf Update build.sh for Windows 2015-06-29 22:33:42 +08:00
William Friesen
b97d117852 Fix command used by FreeBSD init script 2015-06-09 21:40:43 +10:00
Björn
a8a144f352 fix debian init script
- 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
2015-06-04 13:15:00 +02:00
Martin van Beurden
ef1fe0a795 fix systemd "Trailing garbage, ignoring." warning.
Environment should be a space-separated list instead of comma-separated.
No need for double quoting when the values don't contain spaces.
2015-05-09 20:24:33 +02:00
Robert Rauch
f249a659ee fix typo in centos init script
We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
2015-04-01 00:45:00 +02:00
Carlos Gutierrez
17f5e9bc6b Remove use of PID and fix stderr redirection 2015-03-17 20:30:25 -07:00
Unknwon
292984f4f5 scripts: remove meaningless script and modify systemd service 2015-03-04 00:59:55 -05:00
Stefan-Code
208c1c0255 added less compile script 2015-02-18 07:20:06 +01:00
Unknwon
539c19222d scripts: remove confuse scripts 2015-02-03 12:42:34 -05:00
Clint Armstrong
66a9c0d71d Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogs 2015-01-30 22:52:57 -05:00
Clint Armstrong
7e3d66673d Add freebsd rc script 2015-01-30 22:51:38 -05:00
Clint Armstrong
eae08ea8f4 Allow start.sh from any working directory
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.
2015-01-17 16:52:42 -05:00
André Grötschel
afc659442d flexiable the build scripts and add a freebsd build script 2014-12-27 15:16:05 +01:00
jacksonpan
3e4db7299d add +x autoboot.sh
fix
2014-10-13 15:52:29 +08:00
jacksonpan
9e4c2afad7 add auto start script
how to use:
vim /etc/rc.local, then add
cd /home/git/gogs; scripts/autoboot.sh
(goes path you can replace your path)
2014-10-13 14:32:08 +08:00
jacksonpan
2dd4ab65c7 update the supervisor script and conf
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)
2014-10-13 14:23:55 +08:00