File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1146,7 +1146,7 @@ if [ "$nginx" = 'yes' ]; then
11461146 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .sh $HESTIA /data/templates/web/nginx/default.sh
11471147 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .tpl $HESTIA /data/templates/web/nginx/default.tpl
11481148 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .stpl $HESTIA /data/templates/web/nginx/default.stpl
1149- systemctl start php$fpm_v -fpm>> $LOG
1149+ systemctl start php$fpm_v -fpm >> $LOG
11501150 check_result $? " php$fpm_v -fpm start failed"
11511151 fi
11521152
@@ -1400,7 +1400,7 @@ if [ "$named" = 'yes' ]; then
14001400 aa-complain /usr/sbin/named > /dev/null 2>&1
14011401 echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
14021402 if ! grep --quiet lxc /proc/1/environ; then
1403- service apparmor status > /dev/null 2>&1
1403+ systemctl status apparmor > /dev/null 2>&1
14041404 if [ $? -ne 0 ]; then
14051405 systemctl restart apparmor >> $LOG
14061406 fi
You can’t perform that action at this time.
0 commit comments