]> source.dussan.org Git - gitea.git/commit
Added "init.d" service script for Debian-based Linux.
authorDanny B <silverkorn@gmail.com>
Tue, 30 Sep 2014 01:52:45 +0000 (21:52 -0400)
committerDanny B <silverkorn@gmail.com>
Tue, 30 Sep 2014 01:52:45 +0000 (21:52 -0400)
commitf7de6d2b86e7e56a46d2763800760ac16ae363d3
tree6b57640ac68a6324c1a28845693559cf2d699c4b
parent7d48f811f16d3565f161a44e4e98c451cf6c857e
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:
scripts/init/debian/gogs [new file with mode: 0644]