diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:16:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:45:14 +0000 |
commit | ec8255b378751dca48bc839e8751cea5bd339921 (patch) | |
tree | 2af70efd08b300b299d6f157c6919c329a7513c6 /bin/container | |
parent | Moving command files from /usr/lib to /usr/libexec. (diff) | |
download | compute-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-x | bin/container | 6 |
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 |