4 Commits (198567eccbd6425235f5c755b5862cbe90b435c2)

Author SHA1 Message Date
无闻 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