Browse Source

Fix missing autostart.in v-add-web-php

Raphael Schneeberger 6 years ago
parent
commit
4241d539d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/v-add-web-php

+ 1 - 0
bin/v-add-web-php

@@ -97,6 +97,7 @@ if [ "$WEB_SYSTEM" = "apache2" ]; then
 fi
 
 # Configure fpm
+update-rc.d php$version-fpm defaults > /dev/null 2>&1
 v_tpl=$(echo "$version" | sed -e 's/[.]//')
 rm -f /etc/php/$version/fpm/pool.d/*
 cp -f $HESTIA/install/deb/php-fpm/dummy.conf /etc/php/$version/fpm/pool.d/