diff options
author | mharo <mharo@FreeBSD.org> | 1999-10-10 07:10:41 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-10-10 07:10:41 +0000 |
commit | 24b59419f092edb0688f9228dc43081fda1037d5 (patch) | |
tree | aa675efba6930ea6f8028a3e193ccf0ff474504b /ftp/proftpd/files | |
parent | 398dcc6afbfc1e988ca2680f1acd895283288e90 (diff) | |
download | FreeBSD-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.sample | 18 |
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 |