Skip to content
Snippets Groups Projects
Commit 535f01c8 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

zmena nazvu promene hostname na domain_name; uprava funkce pro vytvareni...

zmena nazvu promene hostname na domain_name; uprava funkce pro vytvareni souboru warden-watchdog.conf
parent 67dee796
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ paramsChck
# set variables
err="/tmp/warden-err"
hostname=$(hostname -f || echo "unspecified.server")
domain_name=$(hostname -f || echo "unspecified.server")
dirname=${0%/*}
bin="${basedir}/bin"
lib="${basedir}/lib"
......@@ -268,8 +268,7 @@ doTemplate \
# create wardenWatchdog configuration file
echo -n "Creating Warden Watchdog configuration file ... "
doTemplate \
_HOSTNAME_ "$hostname" \
_CONTACT_ "$contact" \
_DOMAIN_NAME_ "$domain_name" \
< $watchdog_conf_tmpl \
> $watchdog_conf && echo "OK" || errClean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment