summaryrefslogtreecommitdiffstats
path: root/ftp/proftpd/files
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-10-10 07:10:41 +0000
committermharo <mharo@FreeBSD.org>1999-10-10 07:10:41 +0000
commit24b59419f092edb0688f9228dc43081fda1037d5 (patch)
treeaa675efba6930ea6f8028a3e193ccf0ff474504b /ftp/proftpd/files
parent398dcc6afbfc1e988ca2680f1acd895283288e90 (diff)
downloadFreeBSD-ports-24b59419f092edb0688f9228dc43081fda1037d5.zip
FreeBSD-ports-24b59419f092edb0688f9228dc43081fda1037d5.tar.gz
- add a startup script for use with standalone mode
- don't install config files as scripts - strip binary on install
Diffstat (limited to 'ftp/proftpd/files')
-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 0000000..d259867
--- /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
OpenPOWER on IntegriCloud