File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Source: hestia-nginx
22Package: hestia-nginx
33Priority: optional
4- Version: 1.19.2
4+ Version: 1.19.3
55Section: admin
66Maintainer: HestiaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
Original file line number Diff line number Diff line change @@ -21,4 +21,9 @@ source /usr/local/hestia/conf/hestia.conf
2121# Reset backend port
2222if [ ! -z " $BACKEND_PORT " ]; then
2323 /usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
24+ fi
25+
26+ # Restart hestia service
27+ if [ -f " /etc/init.d/hestia" ]; then
28+ systemctl restart hestia > /dev/null 2>&1
2429fi
Original file line number Diff line number Diff line change 11Source: hestia-php
22Package: hestia-php
33Priority: optional
4- Version: 7.4.10
4+ Version: 7.4.11
55Section: admin
66Maintainer: HestaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ if [ " $1 " != " configure" ]; then
6+ exit 0
7+ fi
8+
9+ # Restart hestia service
10+ if [ -f " /etc/init.d/hestia" ]; then
11+ systemctl restart hestia > /dev/null 2>&1
12+ fi
Original file line number Diff line number Diff line change @@ -366,11 +366,16 @@ if [ "$PHP_B" = true ] ; then
366366 if [ -z " $use_src_folder " ]; then
367367 download_file $GIT_REP /php/control
368368 download_file $GIT_REP /php/copyright
369+ download_file $GIT_REP /php/postinst
369370 else
370371 cp $BUILD_DIR /hestiacp-$branch /src/deb/php/control ./
371372 cp $BUILD_DIR /hestiacp-$branch /src/deb/php/copyright ./
373+ cp $BUILD_DIR /hestiacp-$branch /src/deb/php/postinst ./
372374 fi
373375
376+ # Set permission
377+ chmod +x postinst
378+
374379 # Move php directory
375380 cd ..
376381 mv ${BUILD_DIR} /usr/local/hestia/php usr/local/hestia/
@@ -451,7 +456,7 @@ if [ "$HESTIA_B" = true ]; then
451456
452457
453458 # Set permission
454- chmod +x postinst
459+ chmod 755 postinst
455460
456461 # Move needed directories
457462 cd $BUILD_DIR /hestiacp-$branch
You can’t perform that action at this time.
0 commit comments