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