summaryrefslogtreecommitdiffstats
path: root/tests/testserver/ftp-proxy/ftp-proxy.sh
blob: e51144fd1a735d3c69ede371c282c80d2db7f614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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