Commit Graph

66 Commits (fec1095f1729fefa8c0feca8cad8e8e81591d348)

Author SHA1 Message Date
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)
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)
无闻 3ffa17c49a Merge pull request from silverkorn/dev
Debian's "init.d" - Tentative to fix user's environment variables loading
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.
无闻 198567eccb Merge pull request from silverkorn/dev
Added "init.d" service script for Debian-based Linux.
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:
Luca Beltrame d95e7065d9 s/USER/GOGS_USER/g
Luca Beltrame 5e48c89c5e Add a CentOS init script
Unknwon 5e747bc877 Clean old dockerfiles
Thomas Fanninger 78bd144c1c Intial commit for systemd support
lunnyxiao f67c59135f build script fixed
Unknwon 7e36bf448d Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts:
	dockerfiles/README.md
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.
Unknwon 5fbf8531e6 Finish new home page of organization
Unknwon 3f38ff6c09 Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
	templates/status/500.tmpl
Unknwon 8dd07c0ddd New UI merge in progress