From 4422ae01661e7debd99f8260457c87b798b3d7e4 Mon Sep 17 00:00:00 2001 From: zPlus Date: May 31 2020 12:19:53 +0000 Subject: Add comments to the mirror service files for clarifying their purpose. --- diff --git a/files/pagure_mirror.service b/files/pagure_mirror.service index 5013842..0605db8 100644 --- a/files/pagure_mirror.service +++ b/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 diff --git a/files/pagure_mirror_project_in.service b/files/pagure_mirror_project_in.service index 4a3a3ee..418259c 100644 --- a/files/pagure_mirror_project_in.service +++ b/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