1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-01 09:51:39 -05:00
forgejo/scripts/init/gentoo/gitea
Lunny Xiao 11df7ebfc5 init script gentoo (#447)
* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
2016-12-22 10:39:17 +01:00

15 lines
224 B
Text

#!/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
}