Browse Source

Add comments to the mirror service files for clarifying their purpose.

zPlus 3 years ago
parent
commit
4422ae0166
2 changed files with 11 additions and 0 deletions
  1. 5 0
      files/pagure_mirror.service
  2. 6 0
      files/pagure_mirror_project_in.service

+ 5 - 0
files/pagure_mirror.service

@@ -1,6 +1,11 @@
 # This is a systemd's service file for the mirroring service, if you change
 # the default value of the CI_CELERY_QUEUE configuration key, do not
 # forget to edit it in the ExecStart line below
+# 
+# This service handles the queue of git hooks that are used to PUSH new commits
+# to an external mirror repository. Hooks are set from the projects settings.
+# For mirroring external repositories into pagure, see pagure_mirror_project_in.service.
+
 
 [Unit]
 Description=Pagure service mirroring projects outside of pagure that asked for it

+ 6 - 0
files/pagure_mirror_project_in.service

@@ -1,3 +1,9 @@
+# This service is responsible for PULLing external repositories into local
+# repositories. It's used by repositories that are created with a "mirror"
+# option.
+# For mirroring local repositories to external repositories, see pagure_mirror.service.
+
+
 [Unit]
 Description=Pagure service to mirror in projects
 Documentation=https://pagure.io/pagure