Improved configuration file management.
This commit is contained in:
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…
Reference in New Issue
Block a user