1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/ftp/proftpd/files/proftpd.sh.sample
Michael Haro 5492aae1af - install ftpwho
- install xferlog.5 manpage
- create /var/run/proftpd in the rc.d startup script so that it will
  be recreated during the next boot.
1999-10-11 04:41:55 +00:00

20 lines
232 B
Bash

#!/bin/sh
case "$1" in
start)
/bin/mkdir -p /var/run/proftpd
if [ -x /usr/local/libexec/proftpd ]; then
/usr/local/libexec/proftpd && echo -n ' proftpd'
fi
;;
stop)
killall proftpd
;;
*)
echo "$0 start | stop"
;;
esac