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 @@ -1142,7 +1142,7 @@ if [ "$nginx" = 'yes' ]; then
11421142 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .sh $HESTIA /data/templates/web/nginx/default.sh
11431143 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .tpl $HESTIA /data/templates/web/nginx/default.tpl
11441144 ln -s $HESTIA /data/templates/web/nginx/PHP-$fpm_tpl .stpl $HESTIA /data/templates/web/nginx/default.stpl
1145- systemctl start php$fpm_v -fpm>> $LOG
1145+ systemctl start php$fpm_v -fpm >> $LOG
11461146 check_result $? " php$fpm_v -fpm start failed"
11471147 fi
11481148
@@ -1396,7 +1396,7 @@ if [ "$named" = 'yes' ]; then
13961396 aa-complain /usr/sbin/named > /dev/null 2>&1
13971397 echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
13981398 if ! grep --quiet lxc /proc/1/environ; then
1399- service apparmor status > /dev/null 2>&1
1399+ systemctl status apparmor > /dev/null 2>&1
14001400 if [ $? -ne 0 ]; then
14011401 systemctl restart apparmor >> $LOG
14021402 fi
You can’t perform that action at this time.
0 commit comments