mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
1aee261aae
* More detailed documentation on how to set up from binary Also change recommended file locations
16 lines
253 B
Plaintext
16 lines
253 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
DIR=/var/lib/gitea
|
|
USER=git
|
|
|
|
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
|
|
command="/usr/local/bin/gitea"
|
|
command_args="web -c /etc/gitea/app.ini"
|
|
command_background=yes
|
|
pidfile=/var/run/gitea.pid
|
|
|
|
depend()
|
|
{
|
|
need net
|
|
}
|