summaryrefslogtreecommitdiffhomepage
path: root/examples/var_service/ftpd/run
blob: 87b7d2b6c693e5d529513ac2f355203f83876ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

#exec >/dev/null
exec 2>&1
exec </dev/null

user=www
user=root

exec \
env - PATH="$PATH" \
softlimit \
tcpsvd \
  -vE -l 0 -c 40 \
  0.0.0.0 21 \
setuidgid "$user" \
ftpd -vv -t10 /pub/ftpd_root