1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/ftp/proftpd-devel/files/proftpd.sh.sample
Michael Haro 9b9c3928fd - add a startup script for use with standalone mode
- don't install config files as scripts
- strip binary on install
1999-10-10 07:10:41 +00:00

19 lines
200 B
Bash

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