Skip to content

Commit 1263b72

Browse files
author
Kristan Kenney
committed
Ensure rc-local is executed on Ubuntu 18.04
1 parent 6b320ec commit 1263b72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,8 @@ if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
16081608
fi
16091609
echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
16101610
echo "exit 0" >> /etc/rc.local
1611+
chmod +x /etc/rc.local
1612+
systemctl enable rc-local
16111613
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
16121614
ip=$pub_ip
16131615
fi

0 commit comments

Comments
 (0)