Browse Source

Gogs seems now to be up and running

Till Klocke 8 years ago
parent
commit
83352284b9

+ 1 - 1
roles/service-gogs/defaults/main.yml

@@ -12,7 +12,7 @@ gogs_archive: "{{ ansible_env.HOME }}/{{ gogs_package_name }}"
 
 gogs_repo_dir: "{{ gogs_home }}/repo"
 gogs_config_file: "{{ gogs_home }}/gogs/custom/conf/app.ini"
-gogs_sqlite_path: "{{ gogs_home }}/db"
+gogs_sqlite_path: "{{ gogs_home }}/db/gogs.db"
 
 gogs_cfg_app_name: FFDO git service
 gogs_cfg_mode: prod # Either "dev", "prod" or "test"

+ 1 - 1
roles/service-gogs/tasks/gogs.yml

@@ -81,7 +81,7 @@
   become: yes
   template:
     src: gogs.service.j2
-    dest: /etc/systemd/system/service.gogs
+    dest: /etc/systemd/system/gogs.service
 
 - name: Reload systemd
   become: yes

+ 1 - 1
roles/service-gogs/templates/app.ini.j2

@@ -90,7 +90,7 @@ DB_TYPE = sqlite3
 ; PASSWD = ``
 ; For "postgres" only, either "disable", "require" or "verify-full"
 ; SSL_MODE = disable
-PATH = 
+PATH = {{ gogs_sqlite_path }}
 
 [admin]