0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

init script gentoo (#447)

* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
This commit is contained in:
Lunny Xiao 2016-12-22 17:39:17 +08:00 committed by Thomas Boerger
parent 47a7529d96
commit 11df7ebfc5

15
scripts/init/gentoo/gitea Normal file
View file

@ -0,0 +1,15 @@
#!/sbin/openrc-run
DIR=/home/git/gitea
USER=git
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
command="${DIR}/gitea"
command_args="web"
command_background=yes
pidfile=/var/run/gitea.pid
depend()
{
need net
}