Skip to content

Commit 58024aa

Browse files
authored
Update hst-install-debian.sh
Add RESOURCES_LIMIT to debian installtion script
1 parent f2c5a6d commit 58024aa

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

install/hst-install-debian.sh

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ help() {
7474
-i, --iptables Install iptables [yes|no] default: yes
7575
-b, --fail2ban Install Fail2Ban [yes|no] default: yes
7676
-q, --quota Filesystem Quota [yes|no] default: no
77-
-L, --resourcelimit Resource limitation [yes|no] default: no
77+
-L, --resourcelimit Resource Limitation [yes|no] default: no
7878
-W, --webterminal Web Terminal [yes|no] default: no
7979
-d, --api Activate API [yes|no] default: yes
8080
-r, --port Change Backend Port default: 8083
@@ -300,7 +300,7 @@ while getopts "a:w:v:j:k:m:M:g:d:x:z:Z:c:t:i:b:r:o:q:l:y:s:u:e:p:W:D:fh" Option;
300300
i) iptables=$OPTARG ;; # Iptables
301301
b) fail2ban=$OPTARG ;; # Fail2ban
302302
q) quota=$OPTARG ;; # FS Quota
303-
L) resourcelimit=$OPTARG ;; # Resource Limitation
303+
L) resourcelimit=$OPTARG ;; # Resource Limitaiton
304304
W) webterminal=$OPTARG ;; # Web Terminal
305305
r) port=$OPTARG ;; # Backend Port
306306
l) lang=$OPTARG ;; # Language
@@ -2453,4 +2453,17 @@ cat $tmpfile
24532453
rm -f $tmpfile
24542454

24552455
# Add welcome message to notification panel
2456-
$HESTIA/bin/v-add-user-notification "$username" 'Welcome to Hestia Control Panel!' '<p>You are now ready to begin adding <a href="/add/user/">user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, <a href="https://hestiacp.com/docs/" target="_blank">view the documentation</a> or <a href="https://forum.hestiacp.com/" target="_blank">visit our forum</a>.</p><p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">report any issues via GitHub</a>.</p><p class="u-text-bold">Have a wonderful day!</p><p><i class="fas fa-heart icon-
2456+
$HESTIA/bin/v-add-user-notification "$username" 'Welcome to Hestia Control Panel!' '<p>You are now ready to begin adding <a href="/add/user/">user accounts</a> and <a href="/add/web/">domains</a>. For help and assistance, <a href="https://hestiacp.com/docs/" target="_blank">view the documentation</a> or <a href="https://forum.hestiacp.com/" target="_blank">visit our forum</a>.</p><p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">report any issues via GitHub</a>.</p><p class="u-text-bold">Have a wonderful day!</p><p><i class="fas fa-heart icon-red"></i> The Hestia Control Panel development team</p>'
2457+
2458+
# Clean-up
2459+
# Sort final configuration file
2460+
sort_config_file
2461+
2462+
if [ "$interactive" = 'yes' ]; then
2463+
echo "[ ! ] IMPORTANT: The system will now reboot to complete the installation process."
2464+
read -n 1 -s -r -p "Press any key to continue"
2465+
reboot
2466+
else
2467+
echo "[ ! ] IMPORTANT: You must restart the system before continuing!"
2468+
fi
2469+
# EOF

0 commit comments

Comments
 (0)