mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +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
|