summaryrefslogtreecommitdiff
path: root/ftp/proftpd/files/proftpd.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/proftpd/files/proftpd.sh.sample')
-rw-r--r--ftp/proftpd/files/proftpd.sh.sample18
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/proftpd/files/proftpd.sh.sample b/ftp/proftpd/files/proftpd.sh.sample
new file mode 100644
index 000000000000..d2598672f5e2
--- /dev/null
+++ b/ftp/proftpd/files/proftpd.sh.sample
@@ -0,0 +1,18 @@
+#!/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