From a595044976365cd511fb44b0fbde0c1266b69286 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Wed, 6 Nov 2013 16:04:09 -0500 Subject: [PATCH] fix icinga-vhost Apache2 sites-available bug. --- GenaSYS.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenaSYS.sh b/GenaSYS.sh index f7c1e27..7957405 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -2331,7 +2331,7 @@ for MONITOR in $MACHINES_MONITOR do mkdir -p "$OUTDIR/$MONITOR/etc/icinga/objects" mkdir -p "$OUTDIR/$MONITOR/etc/apache2/sites-available" - cp -f "$TEMPLATEDIR/monitor/icinga-vhost.conf" "/etc/apache2/sites-available" + cp -f "$TEMPLATEDIR/monitor/icinga-vhost.conf" "$OUTDIR/$MONITOR/etc/apache2/sites-available" cp -f "$TMPFOLDER/hosts.cfg" "$OUTDIR/$MONITOR/etc/icinga/objects" cp -f "$TMPFOLDER/hostgroups.cfg" "$OUTDIR/$MONITOR/etc/icinga/objects" cp -f "$TEMPLATEDIR/monitor/services.cfg" "$OUTDIR/$MONITOR/etc/icinga/objects" -- 2.11.0