Improved configuration file management.

This commit is contained in:
Christian P. MOMON 2020-11-12 01:25:37 +01:00 committed by root
parent a1d316ccc2
commit 269ab1f4c2
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ LOG_PREFIX="/var/log/apache2/forge.chapril.org/forge.chapril.org"
SERVICE_NAME="forge.chapril.org"
GITEA_REPO_HOME="/srv/gitea/repositories/"
source "/etc/chagirbot/chagirbot.conf"
source "/etc/forge.chapril.org/forgechaprilorg.conf"
IPV4_PATTERN="[0-9]{1,3}(\.[0-9]{1,3}){3}"
IPV6_PATTERN="[0-9a-f]{0,4}(:[0-9a-f]{0,4}){2,7}"

View File

@ -1,8 +1,8 @@
#! /bin/bash
SCRIPT="/srv/forge.chapril.org/tools/rapport_activite/rapport_activite.sh"
CONFIG="/etc/chagirbot/chagirbot.conf"
source ${CONFIG}
source "/etc/chagirbot/chagirbot.conf"
source "/etc/forge.chapril.org/forgechaprilorg.conf"
#
post_report()