We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018846e commit 52fd2abCopy full SHA for 52fd2ab
src/deb/hestia/postinst
@@ -58,14 +58,17 @@ if [ "$DNS_SYSTEM" = 'bind9' ] && [ ! -f /etc/apparmor.d/local/usr.sbin.named ];
58
echo "/home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
59
fi
60
61
-# Remove obsolete ports.conf if exist.
+# Remove obsolete ports.conf if exists.
62
if [ -f /usr/local/hestia/data/firewall/ports.conf ]; then
63
rm -f /usr/local/hestia/data/firewall/ports.conf
64
65
66
-# Set backend port
+# Reset backend port
67
if [ ! -z "$BACKEND_PORT" ]; then
68
/usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
69
70
71
+# Copy default "Success" page for unassigned hosts
72
+cp -rf $hestiacp/templates/web/unassigned/* /var/www/
73
+
74
exit 0
0 commit comments