From: Andy Witter Date: Wed, 6 Nov 2013 21:04:09 +0000 (-0500) Subject: fix icinga-vhost Apache2 sites-available bug. X-Git-Tag: GenaSYS-2.5.0~11 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a595044976365cd511fb44b0fbde0c1266b69286;p=contrib%2Fpines%2Fgenasys.git fix icinga-vhost Apache2 sites-available bug. --- 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"