mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
5492aae1af
- install xferlog.5 manpage - create /var/run/proftpd in the rc.d startup script so that it will be recreated during the next boot.
20 lines
232 B
Bash
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
|