Skip to content

Commit 35649e5

Browse files
authored
Block unlimited for backups (hestiacp#3181)
* Replace www.vestacp.com with vestacp.com www.vestacp.com has a no valid ssl certificated only vestacp.com is listed * Block unlimited in backup packages * Update format v-restart-service + chmod some files to the right permissions
1 parent 140343e commit 35649e5

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ If you would like to contribute to the project, please [read our Contribution Gu
135135

136136
## License
137137

138-
Hestia Control Panel is licensed under [GPL v3](https://github.com/hestiacp/hestiacp/blob/release/LICENSE) license, and is based on the [VestaCP](https://www.vestacp.com/) project.<br>
138+
Hestia Control Panel is licensed under [GPL v3](https://github.com/hestiacp/hestiacp/blob/release/LICENSE) license, and is based on the [VestaCP](https://vestacp.com/) project.<br>

bin/v-add-user-package

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ is_package_consistent() {
5858
if [ "$BANDWIDTH" != 'unlimited' ]; then
5959
is_int_format_valid "$BANDWIDTH" 'BANDWIDTH'
6060
fi
61-
if [ "$BACKUPS" != 'unlimited' ]; then
62-
is_int_format_valid "$BACKUPS" 'BACKUPS'
63-
fi
61+
is_int_format_valid "$BACKUPS" 'BACKUPS'
6462
if [ -n "$WEB_TEMPLATE" ]; then
6563
is_web_template_valid "$WEB_TEMPLATE"
6664
fi

bin/v-restart-service

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ for service in $service_list; do
7373
"$service" = "php7.4-fpm" -o \
7474
"$service" = "php8.0-fpm" -o \
7575
"$service" = "php8.1-fpm" -o \
76-
"$service" = "php8.2-fpm" -o \
76+
"$service" = "php8.2-fpm" -o \
7777
"$service" = "proftpd" -o \
7878
"$service" = "ssh" -o \
7979
"$service" = "fail2ban" ]; then

bin/v-run-cli-cmd

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if [ "$basecmd" != 'ps' -a \
6969
"$basecmd" != 'php7.4' -a \
7070
"$basecmd" != 'php8.0' -a \
7171
"$basecmd" != 'php8.1' -a \
72-
"$basecmd" != 'php8.2' -a \
72+
"$basecmd" != 'php8.2' -a \
7373
"$basecmd" != 'php' -a \
7474
"$basecmd" != "wp" -a \
7575
"$basecmd" != 'composer' ]; then

0 commit comments

Comments
 (0)