Commit Graph

35 Commits (89c2bd4a0dd85261f72565ba8395644da8129fea)

Author SHA1 Message Date
Unknwon eda9211fa4 fix #1198 2015-07-28 15:30:14 +08:00
Unknwon 70d44e9565 Merge branch 'master' of github.com:gogits/gogs into develop 2015-07-25 00:48:42 +08:00
无闻 007a42a8ff Merge pull request #1321 from wfriesen/freebsdinit
Fix command used by FreeBSD init script
2015-07-25 00:46:52 +08:00
无闻 4ab60bbfba Merge pull request #1262 from chadoe/systemd-env
fix systemd "Trailing garbage, ignoring." warning.
2015-07-25 00:42:14 +08:00
无闻 9cf334fca9 Merge pull request #1185 from linquize/build-win
Update build.sh for Windows
2015-07-25 00:36:57 +08:00
Linquize 08f7547acf Update build.sh for Windows 2015-06-29 22:33:42 +08:00
William Friesen bfef8f0edd Fix command used by FreeBSD init script 2015-06-09 21:40:43 +10:00
Björn 6eecbf17cd 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 66d7adc3a8 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 7e5063a93d 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 e7f4d23412 Remove use of PID and fix stderr redirection 2015-03-17 20:30:25 -07:00
Unknwon 6c84223f43 scripts: remove meaningless script and modify systemd service 2015-03-04 00:59:55 -05:00
Stefan-Code 6e341e26b3 added less compile script 2015-02-18 07:20:06 +01:00
Unknwon 98f7f6bef8 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
无闻 3ffa17c49a Merge pull request #519 from silverkorn/dev
Debian's "init.d" - Tentative to fix user's environment variables loading
2014-09-30 21:39:12 -04:00
Danny B 98c719c342 Debian's Init.d workaround for loading user's environment variables with `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.
2014-09-30 21:30:16 -04:00
无闻 198567eccb Merge pull request #517 from silverkorn/dev
Added "init.d" service script for Debian-based Linux.
2014-09-29 22:00:31 -04:00
Danny B f7de6d2b86 Added "init.d" service script for Debian-based Linux.
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:
2014-09-29 21:52:45 -04:00
Luca Beltrame d95e7065d9 s/USER/GOGS_USER/g 2014-09-29 10:43:51 +02:00
Luca Beltrame 5e48c89c5e Add a CentOS init script 2014-09-29 10:41:29 +02:00
Unknwon 5e747bc877 Clean old dockerfiles 2014-09-28 03:31:50 -04:00
Thomas Fanninger 78bd144c1c Intial commit for systemd support 2014-09-16 20:10:21 +02:00
lunnyxiao f67c59135f build script fixed 2014-09-12 14:45:38 +08:00
Unknwon 7e36bf448d Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts:
	dockerfiles/README.md
2014-08-31 15:11:55 +08:00
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
2014-08-30 15:12:53 +02:00
Unknwon 5fbf8531e6 Finish new home page of organization 2014-08-10 20:11:18 -07:00
Unknwon 3f38ff6c09 Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
	templates/status/500.tmpl
2014-07-26 00:25:43 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00