22
1
Fork 0

Improved configuration file management.

master
Christian P. MOMON 2 years ago committed by root
parent a1d316ccc2
commit 269ab1f4c2

@ -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}"

@ -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()

Loading…
Cancel
Save