瀏覽代碼

init script gentoo (#447)

* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
tags/v1.0.0
Lunny Xiao 7 年之前
父節點
當前提交
11df7ebfc5
共有 1 個檔案被更改,包括 15 行新增0 行删除
  1. 15
    0
      scripts/init/gentoo/gitea

+ 15
- 0
scripts/init/gentoo/gitea 查看文件

@@ -0,0 +1,15 @@
#!/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
}

Loading…
取消
儲存