2016-12-22 15:09:17 +05:30
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
2018-06-05 07:32:04 +05:30
|
|
|
DIR=/var/lib/gitea
|
2016-12-22 15:09:17 +05:30
|
|
|
USER=git
|
|
|
|
|
|
|
|
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
|
2018-06-05 07:32:04 +05:30
|
|
|
command="/usr/local/bin/gitea"
|
|
|
|
command_args="web -c /etc/gitea/app.ini"
|
2016-12-22 15:09:17 +05:30
|
|
|
command_background=yes
|
2020-08-16 01:45:27 +05:30
|
|
|
pidfile=/run/gitea.pid
|
2016-12-22 15:09:17 +05:30
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
need net
|
|
|
|
}
|