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)
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:

tony/gogs,pecastro/gogs,dlob/gogs,kiliit/gogs,ethantkoenig/gitea,sapk-fork/gitea,JonasFranzDEV/gitea,andreynering/gitea,yonglehou/gogs,cem/gogs,dnmgns/gitea,wqweto/gogs,0rax/gogs,beni55/gogs,avelino/gitea,lunny/gitea,tanapoln/gogs,bygreencn/gogs,ForxaCoLab/forxa,helojo/gogs,tempbottle/gogs,likeit92/gogs,fanningert/gogs,Immortalin/gogs,gemili/gogs,xormplus/gitea,kolonse/gogs,mpindado/gogs,kjellkvinge/gitea,wangjild/gogs,imjerrybao/gogs,chriswatt/gogs,geerlingguy/gogs,dl5rcw/gitea,peterhadlaw/gogs,hiproz/gogs,jvanderneutstulen/gogs,tpires/gogs,go-gitea/gitea,0rax/gogs,w4ngyi/gogs,cngolang/gogs,Bwko/gitea,Em-AK/gogs,linquize/gitea,kevinc0825/gogs,xaionaro/gogs,denji/gitea_tmp,typeless/gitea,kubatyszko/gitea,chriswatt/gogs,avelino/gitea,opavader/gogs,DblK/gitea,joshk/gogs,go-gitea/gitea,0x0all/gogs,gwynantj/gogs,w4ngyi/gogs,kiliit/gogs,hzy001/gogs,AnuchitPrasertsang/gogs,golang-lib/gogs,svcavallar/gogs,pentix/gogs,codeskyblue/gogs,lucienevans/gogs,treejames/gogs,denghongcai/gogs,svcavallar/gogs,mukaiu/gogs,mapmeld/codemingler,Ralph-Wang/gogs,richmahn/gogs,helojo/gogs,armersong/gogs,jqs7/gogs,Em-AK/gogs,fanningert/gogs,agaurav/gogs,mapmeld/codemingler,dancewing/gogs,denghongcai/gogs,tszym/gogs,golang-lib/gogs,DblK/gitea,lafriks/gitea,yaggytter/gogs,andreynering/gitea,gemili/gogs,tanapoln/gogs,odinuge/gogs,cgars/gogs,cez81/gitea,tony/gogs,sapk-fork/gitea,tpires/gogs,ethantkoenig/gogs,siadat/gogs,Immortalin/gogs,Janfred/gogs,strk/gogs,dentmaged/gogs,typeless/gitea,opavader/gogs,beni55/gogs,Ralph-Wang/gogs,opavader/gogs,faddat/gogs,faddat/gogs,jorgesumle/gitea,mpindado/gogs,xet7/gogs,nounoursheureux/gitea,jacobxk/gogs,haoyixin/gogs,w4ngyi/gogs,huyueMiss/gogs,armersong/gogs,liliexuan/gogs,tszym/gogs,hzy001/gogs,bkcsoft/gogs,liliexuan/gogs,hzy001/gogs,kloudsio/gogs,DebansNetwork/gogs,lucienevans/gogs,fabric8io/gogs,cybe/gitea,gigforks/gogs,DebansNetwork/gogs,mark77z/tt2016,uileyar/gogs,everhopingandwaiting/gogs,cngolang/gogs,mpindado/gogs,avelino/gitea,tempbottle/gogs,tpires/gogs,metadevfoundation/gogs,lunny/gitea,codeskyblue/gogs,andrewrothstein/gogs,yonglehou/gogs,kolonse/gogs,odinuge/gogs,dancewing/gogs,fabric8io/gogs,xaionaro/gogs,jorgesumle/gitea,pikacloud/pikacode,CaeruleusAqua/gitea,peterhadlaw/gogs,nounoursheureux/gitea,dlob/gogs,Spice-King/gogs,denji/gitea_tmp,pecastro/gogs,mjwwit/gitea,lafriks/gitea,vCaesar/gitea,lunny/gitea,andrewrothstein/gogs,GodOfConquest/gogs,AndreaGiardini/gogs,richmahn/gogs,geek1011/gitea,xet7/gogs,cem/gogs,jacobxk/gogs,golang-lib/gogs,kjellkvinge/gitea,fabric8io/gogs,linquize/gogs,sooboy/gogs,strk/gogs,pikacloud/pikacode,everhopingandwaiting/gogs,xiaoyanit/gogs,eddiesigner/gogs,gogits/gogs,mapmeld/codemingler,lafriks/gitea,Bwko/gitea,GodOfConquest/gogs,bkcsoft/gogs,haoyixin/gogs,Em-AK/gogs,avelino/gitea,agaurav/gogs,Immortalin/gogs,nounoursheureux/gitea,tony/gogs,everhopingandwaiting/gogs,dnmgns/gitea,helojo/gogs,spacetourist/gitea,gwynantj/gogs,dlob/gogs,cybe/gitea,sillydong/gogs,cem/gogs,denghongcai/gogs,odinuge/gogs,kiliit/gogs,chriswatt/gogs,ethantkoenig/gogs,kong36088/SCAUGogits,mark77z/tt2016,kloudsio/gogs,wqweto/gogs,lucienevans/gogs,jqs7/gogs,manfer/gitea,manfer/gogs,kolonse/gogs,sillydong/gogs,Morlinest/gitea,yaggytter/gogs,likeit92/gogs,cngolang/gogs,huyueMiss/gogs,psaavedra/gogs,wangjild/gogs,mjwwit/gitea,linquize/gitea,faddat/gogs,GodOfConquest/gogs,AndreaGiardini/gogs,jvanderneutstulen/gogs,sapk-fork/gitea,kseistrup/gogs,kubatyszko/gitea,ForxaCoLab/forxa,JonasFranzDEV/gitea,dentmaged/gogs,gigforks/gogs,AnuchitPrasertsang/gogs,Ralph-Wang/gogs,kseistrup/gogs,hiproz/gogs,jvanderneutstulen/gogs,dentmaged/gogs,vCaesar/gitea,strk/gogs,gogits/gogs,AndreaGiardini/gogs,puffybsd/gitea,gigforks/gogs,kong36088/SCAUGogits,xet7/gogs,linquize/gitea,minecrafter/gitea,manfer/gogs,denji/gitea,go-gitea/gitea,denji/gitea_tmp,armersong/gogs,makhov/gitea,xiaoyanit/gogs,Janfred/gogs,dnmgns/gitea,denji/gitea_tmp,andrewrothstein/gogs,cloudron-io/gogs,psolyca/gitea,voxxit/gogs,siadat/gogs,joshk/gogs,sapk/gogs,Spice-King/gogs,tboerger/gitea,jqs7/gogs,CaeruleusAqua/gitea,kseistrup/gogs,mark77z/tt2016,Bwko/gitea,cgars/gogs,xiaoyanit/gogs,sooboy/gogs,cgars/gogs,vdbt/gitea,dancewing/gogs,hiproz/gogs,pwelter34/gogs,sooboy/gogs,imjerrybao/gogs,bygreencn/gogs,ethantkoenig/gitea,rems4e/gitea,manfer/gogs,AnuchitPrasertsang/gogs,DebansNetwork/gogs,tboerger/gitea,uileyar/gogs,0rax/gogs,eddiesigner/gogs,sapk/gogs,SlavikZ/gogs,kubatyszko/gitea,wangjild/gogs,uileyar/gogs,geerlingguy/gogs,spacetourist/gitea,kevinc0825/gogs,yonglehou/gogs,treejames/gogs,joshk/gogs,cloudron-io/gogs,psolyca/gitea,tboerger/gitea,noikiy/gogs,voxxit/gogs,Spice-King/gogs,willemvd/gitea,psaavedra/gogs,psaavedra/gogs,pwelter34/gogs,cez81/gitea,linquize/gogs,rems4e/gitea,kjellkvinge/gitea,bkcsoft/gogs,siadat/gogs,pentix/gogs,xaionaro/gogs,sillydong/gogs,kong36088/SCAUGogits,liliexuan/gogs,yaggytter/gogs,codeskyblue/gogs,ForxaCoLab/forxa,gemili/gogs,pecastro/gogs,peterhadlaw/gogs,cez81/gitea,wqweto/gogs,typeless/gitea,cumgun/gitea,mukaiu/gogs,haoyixin/gogs,fanningert/gogs,tszym/gogs,SlavikZ/gogs,gigforks/gogs,voxxit/gogs,admik/gitea,sapk-fork/gitea,cloudron-io/gogs,SlavikZ/gogs,metadevfoundation/gogs,Janfred/gogs,noikiy/gogs,metadevfoundation/gogs,dancewing/gogs,tanapoln/gogs,0x0all/gogs,kloudsio/gogs,geek1011/gitea,kevinc0825/gogs,everhopingandwaiting/gogs,0x0all/gogs,gogits/gogs,noikiy/gogs,Morlinest/gitea,svcavallar/gogs,tempbottle/gogs,pwelter34/gogs,manfer/gitea,pikacloud/pikacode,sapk/gogs,treejames/gogs,huyueMiss/gogs,0rax/gogs,linquize/gogs,gwynantj/gogs,vdbt/gitea,bygreencn/gogs,geerlingguy/gogs,jacobxk/gogs,imjerrybao/gogs,likeit92/gogs,pentix/gogs,agaurav/gogs,typeless/gitea,eddiesigner/gogs,cumgun/gitea,manfer/gitea,mukaiu/gogs,beni55/gogs