aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-sendmail
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-12-02 09:16:43 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-12-02 09:16:43 +0000
commita08ed1f160805b4b36d8af4e3487b8c78a0db770 (patch)
tree79780bdf5d755bdac07032ba34feece2b9d5776a /security/drweb-sendmail
parentd255c33e5124beafd0970ef91133947ee8c3fe17 (diff)
downloadports-a08ed1f160805b4b36d8af4e3487b8c78a0db770.tar.gz
ports-a08ed1f160805b4b36d8af4e3487b8c78a0db770.zip
Notes
Diffstat (limited to 'security/drweb-sendmail')
-rw-r--r--security/drweb-sendmail/files/01.drweb-smf.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/01.drweb-smf.sh b/security/drweb-sendmail/files/01.drweb-smf.sh
new file mode 100644
index 000000000000..fec4c3a43ae8
--- /dev/null
+++ b/security/drweb-sendmail/files/01.drweb-smf.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ if [ -x %INSTALL%/drweb-smf ]; then
+ killall drweb-smf >/dev/null 2>& 1;
+ %INSTALL%/drweb-smf --conf=/usr/local/etc/drweb-sendmail/drweb_smf.conf && \
+ echo ' Starting drweb-smf';
+ fi
+ ;;
+stop)
+ killall drweb-smf >/dev/null 2>& 1;
+ echo ' Stop drweb-smf';
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0