Skip to content

Commit 76ca6b4

Browse files
author
Kristan Kenney
committed
Fix minor code/syntax in Ubuntu installer
1 parent e80e692 commit 76ca6b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)