Merge branch 'main' of https://git.format.hu/safebox/framework-scheduler
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -4,7 +4,7 @@ SERVICE_EXEC=$2
|
||||
FIRST_INSTALL=$3
|
||||
GLOBAL_VERSION=$4
|
||||
|
||||
edit_user_user_json() {
|
||||
edit_user_json() {
|
||||
|
||||
if [ ! -f /etc/user/config/user.json ]; then
|
||||
install -m 664 -g 65534 /dev/null /etc/user/config/user.json
|
||||
@@ -202,6 +202,7 @@ elif [ "$FIRST_INSTALL" == "vpn" ]; then
|
||||
|
||||
edit_user_json $LETSENCRYPT_MAIL $LETSENCRYPT_SERVERNAME
|
||||
|
||||
$SERVICE_EXEC vpn-proxy stop force
|
||||
$SERVICE_EXEC vpn-proxy start
|
||||
echo "$INIT_SERVICE_PATH/vpn-proxy.json" >>$AUTO_START_SERVICES/.init_services
|
||||
echo "$INIT_SERVICE_PATH/firewall-vpn-smarthost-loadbalancer" >>$AUTO_START_SERVICES/.init_services
|
||||
|
Reference in New Issue
Block a user