blob: 87b7d2b6c693e5d529513ac2f355203f83876ac9 [file] [log] [blame]
Denys Vlasenkof5c2f722009-11-08 00:55:39 +01001#!/bin/sh
2
3#exec >/dev/null
4exec 2>&1
5exec </dev/null
6
7user=www
8user=root
9
10exec \
11env - PATH="$PATH" \
12softlimit \
13tcpsvd \
14 -vE -l 0 -c 40 \
15 0.0.0.0 21 \
16setuidgid "$user" \
17ftpd -vv -t10 /pub/ftpd_root