2018-02-28 15:48:38 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-05-10 10:06:48 +00:00
|
|
|
# Copyright (C) 2018 The Qt Company Ltd.
|
|
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2018-02-28 15:48:38 +00:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
# package ftp-proxy
|
|
|
|
|
|
|
|
# install configurations and test data
|
2019-03-21 13:37:45 +00:00
|
|
|
sed -i -e 's/# AllowMagicUser\tno/AllowMagicUser\tyes/' \
|
|
|
|
-e 's/# ForkLimit\t\t40/ForkLimit\t\t2000/' \
|
|
|
|
/etc/proxy-suite/ftp-proxy.conf
|
2018-02-28 15:48:38 +00:00
|
|
|
|
|
|
|
# enable service with installed configurations
|
|
|
|
ftp-proxy -d
|