Changes

From SME Server
Jump to navigationJump to search
82 bytes added ,  13:02, 3 January 2016
m
Line 34: Line 34:  
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  cp /etc/httpd/conf.d/zoneminder.conf /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 
  cp /etc/httpd/conf.d/zoneminder.conf /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 +
rm -f /etc/httpd/conf.d/zoneminder.conf
 
  sed -i "18i AddType application/x-httpd-php .php" /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 
  sed -i "18i AddType application/x-httpd-php .php" /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 +
sed --in-place '/DELETE/d' 98zoneminder
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 
  service httpd-e-smith restart
 
  service httpd-e-smith restart

Navigation menu