1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

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

This commit is contained in:
Alexandre Aubin 2020-09-24 00:04:31 +02:00
parent a36f58cd29
commit d3eb54ad46

View file

@ -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... "