summaryrefslogtreecommitdiffstats
path: root/bin/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:16:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:45:14 +0000
commitec8255b378751dca48bc839e8751cea5bd339921 (patch)
tree2af70efd08b300b299d6f157c6919c329a7513c6 /bin/container
parentMoving command files from /usr/lib to /usr/libexec. (diff)
downloadcompute-tools-ec8255b378751dca48bc839e8751cea5bd339921.tar.xz
compute-tools-ec8255b378751dca48bc839e8751cea5bd339921.zip
Moving config files from /etc/open-infrastructure to /etc/compute-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xbin/container6
1 files changed, 3 insertions, 3 deletions
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