Skip to content

Commit 1992d6c

Browse files
author
Kristan Kenney
committed
Fix minor code/syntax in Ubuntu installer
1 parent 893529b commit 1992d6c

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

0 commit comments

Comments
 (0)