X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=blobdiff_plain;f=scripts%2FZONEMINDER%2F10-apache-enable-zm.sh;fp=scripts%2FZONEMINDER%2F10-apache-enable-zm.sh;h=50249146e7e3dfe5150082c301ad8e218da641fe;hp=0000000000000000000000000000000000000000;hb=67c1e5ae3bffc4b381a6ed855410911f02889392;hpb=53f83239a671a52d4cd2bc24f0db871b745db027 diff --git a/scripts/ZONEMINDER/10-apache-enable-zm.sh b/scripts/ZONEMINDER/10-apache-enable-zm.sh new file mode 100755 index 0000000..5024914 --- /dev/null +++ b/scripts/ZONEMINDER/10-apache-enable-zm.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +# create/link apache configs +ln -sf $target/etc/zm/apache.conf $target/etc/apache2/conf-available/zoneminder.conf +fcopy -v /etc/apache2/conf-available/redirect-to-zm.conf + +# enable apache configs +ln -sf $target/etc/apache2/conf-available/zoneminder.conf $target/etc/apache2/conf-enabled/ +ln -sf $target/etc/apache2/conf-available/redirect-to-zm.conf $target/etc/apache2/conf-enabled/ +