mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 23:09:43 +00:00
16 lines
224 B
Plaintext
16 lines
224 B
Plaintext
|
#!/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
|
||
|
}
|