void-packages/srcpkgs/twoftpd/files/twoftpd-anon/run

8 lines
172 B
Plaintext
Raw Normal View History

2015-04-10 15:57:05 +02:00
#!/bin/sh
UID=$(id -u ftp)
GID=$(id -g ftp)
echo $UID > ./env/UID
echo $GID > ./env/GID
mkdir -p $(<./env/HOME)
exec chpst -e ./env tcpserver -DHRv 0 ftp twoftpd-anon 2>&1