Renato Aquino
96af617e67
HOME fix into FreeBSD init script
9 years ago
T.J. Yang
365fffa126
adding extra check on logpath
9 years ago
Andrey Nering
d925e13319
Adding simple script to install Gogs as a Windows service.
9 years ago
Jeff Geerling
ece5929ae2
Set USER env variable so installation can complete successfully.
9 years ago
Unknwon
5c76759c44
fix #1198
10 years ago
Unknwon
a667ee5e04
Merge branch 'master' of github.com:gogits/gogs into develop
10 years ago
无闻
9db21ad607
Merge pull request #1321 from wfriesen/freebsdinit
Fix command used by FreeBSD init script
10 years ago
无闻
80d4d1ff0c
Merge pull request #1262 from chadoe/systemd-env
fix systemd "Trailing garbage, ignoring." warning.
10 years ago
无闻
971d0053a0
Merge pull request #1185 from linquize/build-win
Update build.sh for Windows
10 years ago
Linquize
bac6e3f713
Update build.sh for Windows
10 years ago
William Friesen
605b23c7fc
Fix command used by FreeBSD init script
10 years ago
Björn
dbadd3a1cd
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
10 years ago
Martin van Beurden
fbe4cf3842
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.
10 years ago
Robert Rauch
94fa90457f
fix typo in centos init script
We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
10 years ago
Carlos Gutierrez
20961193f2
Remove use of PID and fix stderr redirection
10 years ago
Unknwon
292984f4f5
scripts: remove meaningless script and modify systemd service
10 years ago
Stefan-Code
208c1c0255
added less compile script
10 years ago
Unknwon
539c19222d
scripts: remove confuse scripts
10 years ago
Clint Armstrong
66a9c0d71d
Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogs
10 years ago
Clint Armstrong
7e3d66673d
Add freebsd rc script
10 years ago
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.
10 years ago
André Grötschel
afc659442d
flexiable the build scripts and add a freebsd build script
10 years ago
jacksonpan
3e4db7299d
add +x autoboot.sh
fix
10 years ago
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)
10 years ago
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)
10 years ago
无闻
3ffa17c49a
Merge pull request #519 from silverkorn/dev
Debian's "init.d" - Tentative to fix user's environment variables loading
10 years ago
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.
10 years ago
无闻
198567eccb
Merge pull request #517 from silverkorn/dev
Added "init.d" service script for Debian-based Linux.
10 years ago
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:
10 years ago
Luca Beltrame
d95e7065d9
s/USER/GOGS_USER/g
10 years ago
Luca Beltrame
5e48c89c5e
Add a CentOS init script
10 years ago
Unknwon
5e747bc877
Clean old dockerfiles
10 years ago
Thomas Fanninger
78bd144c1c
Intial commit for systemd support
10 years ago
lunnyxiao
f67c59135f
build script fixed
10 years ago
Unknwon
7e36bf448d
Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts:
dockerfiles/README.md
10 years ago
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.
10 years ago
Unknwon
5fbf8531e6
Finish new home page of organization
11 years ago
Unknwon
3f38ff6c09
Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
templates/status/500.tmpl
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago