Browse Source

No need to savagely restart php-fpm ... this dates back from the era were hotspot was run using admin

Alexandre Aubin 4 years ago
parent
commit
d3eb54ad46
1 changed files with 0 additions and 6 deletions
  1. 0 6
      conf/ynh-hotspot

+ 0 - 6
conf/ynh-hotspot

@@ -289,12 +289,6 @@ devfromid() {
 
 if [ "$1" != restart ]; then
 
-  # Restart php7.0-fpm at the first start (it needs to be restarted after the slapd start)
-  if [ ! -e /tmp/.ynh-hotspot-boot ]; then
-    touch /tmp/.ynh-hotspot-boot
-    systemctl restart php__PHPVERSION__-fpm
-  fi
-
   # Variables
 
   echo -n "Retrieving Yunohost settings... "