Browse Source

Same as hotspot_ynh: No need to savagely restart php-fpm ... this dates back from the era where the service was run using admin

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

+ 0 - 6
conf/ynh-vpnclient

@@ -362,12 +362,6 @@ is_running() {
 
 if [ "$1" != restart ]; then
 
-  # Restart php-fpm at the first start (it needs to be restarted after the slapd start)
-  if [ ! -e /tmp/.ynh-vpnclient-boot ]; then
-    touch /tmp/.ynh-vpnclient-boot
-    systemctl restart php7.0-fpm
-  fi
-
   # Check configuration consistency
 
   if [[ ! "${1}" =~ stop ]]; then