qt6windows7/tests/testserver/ftp-proxy/ftp-proxy.sh
2023-10-29 23:33:08 +01:00

16 lines
404 B
Bash

#!/usr/bin/env bash
# Copyright (C) 2018 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
set -ex
# package ftp-proxy
# install configurations and test data
sed -i -e 's/# AllowMagicUser\tno/AllowMagicUser\tyes/' \
-e 's/# ForkLimit\t\t40/ForkLimit\t\t2000/' \
/etc/proxy-suite/ftp-proxy.conf
# enable service with installed configurations
ftp-proxy -d