2016-12-22 04:39:17 -05:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
2018-06-04 22:02:04 -04:00
|
|
|
DIR=/var/lib/gitea
|
2016-12-22 04:39:17 -05:00
|
|
|
USER=git
|
|
|
|
|
|
|
|
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
|
2018-06-04 22:02:04 -04:00
|
|
|
command="/usr/local/bin/gitea"
|
|
|
|
command_args="web -c /etc/gitea/app.ini"
|
2016-12-22 04:39:17 -05:00
|
|
|
command_background=yes
|
|
|
|
pidfile=/var/run/gitea.pid
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
need net
|
|
|
|
}
|