From ec8255b378751dca48bc839e8751cea5bd339921 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Apr 2021 14:16:14 +0200 Subject: Moving config files from /etc/open-infrastructure to /etc/compute-tools. Signed-off-by: Daniel Baumann --- bin/container | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/container') diff --git a/bin/container b/bin/container index 1836b33..182d9b4 100755 --- a/bin/container +++ b/bin/container @@ -23,7 +23,7 @@ PROJECT="open-infrastructure" SOFTWARE="compute-tools" PROGRAM="container" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +HOOKS="/etc/${SOFTWARE}/hooks" # Parameter PARAMETER="${1}" @@ -74,9 +74,9 @@ do echo "${DATE} ${HOST} ${USER} ${PROGRAM} ${COMMAND} ${OPTIONS}" >> "/var/log/${PROJECT}/${PROGRAM}.log" # irc - if [ -e /usr/bin/irk ] && [ -e "/etc/${PROJECT}/${PROGRAM}.conf" ] + if [ -e /usr/bin/irk ] && [ -e "/etc/${SOFTWARE}.conf" ] then - . "/etc/${PROJECT}/${PROGRAM}.conf" + . "/etc/${SOFTWARE}.conf" if [ -n "${IRK_TARGETS}" ] then -- cgit v1.2.3