diff --git a/README.md b/README.md index dae98b8..ff0b9ac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Gitea -## Usage +## Användning ### Generera SSH-nycklar @@ -8,7 +8,7 @@ ## Installation -### Confit cheat sheet +### Config cheat sheet https://docs.gitea.io/en-us/config-cheat-sheet/#server-server @@ -19,7 +19,7 @@ START_SSH_SERVER = true SSH_LISTEN_PORT = %(SSH_PORT)s -### Redirect av HTTPS via Apache +### HTTPS proxy via Apache
[server]
ROOT_URL = https://git.myspace.nu/
@@ -44,8 +44,10 @@ ENABLE_OPENID_SIGNUP = false
### Kör som Windows service
[server]
-# echo %COMPUTERNAME% => USER-PC => RUN_USER = USER-PC$
-RUN_USER = COMPUTERNAME$
+# echo %COMPUTERNAME% => USER-PC => RUN_USER = USER-PC$
+RUN_USER = COMPUTERNAME$
+# Använd git för att SSH-länkar till repositoryt ska presenteras rätt
+RUN_USER = git
sc.exe create gitea start= auto binPath= "\"E:\Gitea\gitea.exe\" web --config \"E:\Gitea\custom\conf\app.ini\""