default dirs
All checks were successful
continuous-integration/drone/push Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 15s

This commit is contained in:
Paolo Asperti 2024-02-12 12:39:50 +01:00
parent 8289114ee6
commit 8dcdd4a30a
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,5 +1,11 @@
#!/bin/sh #!/bin/sh
############ CREATE DIRS
mkdir -p /auth /logs
chown proftpd /auth /logs
chmod u+rw /auth /logs
chmod g-w /auth /logs
############ MASQUERADE ############ MASQUERADE
MASQUERADE=${MASQUERADE:-127.0.0.1} MASQUERADE=${MASQUERADE:-127.0.0.1}
echo "MasqueradeAddress ${MASQUERADE}" > /etc/proftpd/conf.d/masquerade.conf echo "MasqueradeAddress ${MASQUERADE}" > /etc/proftpd/conf.d/masquerade.conf