summaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel/files/proftpd.sh.sample
blob: ad976fa3984f5ef4e76e4591a4b5168fd27cf36c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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