Newer
Older
system_user="gitmirror"
user_home="/home/${system_user}"
repo_dir="${user_home}/repositories"
#
# Gitlab settings
#
#This is the Gitlab group where all project mirrors will be grouped.
#This is the web url of your Gitlab server. no trailing slash, just the protocol and server name.
#Special user you created in Gitlab whose only purpose is to update mirror sites and admin the $gitlab_namespace group.
#Generate a token for your $gitlab_user and set it here.
gitlab_user_token_secret="$(head -n1 "${user_home}/private_token")"