aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-02-13 00:28:46 +0800
committersem <sem@FreeBSD.org>2005-02-13 00:28:46 +0800
commit74fa67bde4547f9363dc005a6a30e82dedb52b8f (patch)
tree63dfaa6833a31647583a34f9838fc253a9c23e9b
parent646ddb5297835e6fcbe141f6c3b695c6ca52acc6 (diff)
downloadfreebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.tar.gz
freebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.tar.zst
freebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.zip
- Add forgotten startup scripts
-rw-r--r--security/drweb-postfix/files/01.drweb-postfix.sh20
-rw-r--r--security/drweb-qmail/files/01.drweb-qmail.sh20
2 files changed, 40 insertions, 0 deletions
diff --git a/security/drweb-postfix/files/01.drweb-postfix.sh b/security/drweb-postfix/files/01.drweb-postfix.sh
new file mode 100644
index 000000000000..1ee384ebf6f6
--- /dev/null
+++ b/security/drweb-postfix/files/01.drweb-postfix.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ if [ -x %INSTALL%/drweb-postfix ]; then
+ killall drweb-postfix >/dev/null 2>& 1;
+ %INSTALL%/drweb-postfix --conf=/usr/local/etc/drweb-postfix/drweb_postfix.conf && \
+ echo ' Starting drweb-postfix';
+ fi
+ ;;
+stop)
+ killall drweb-postfix >/dev/null 2>& 1;
+ echo ' Stop drweb-postfix';
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/security/drweb-qmail/files/01.drweb-qmail.sh b/security/drweb-qmail/files/01.drweb-qmail.sh
new file mode 100644
index 000000000000..1577dde5f03d
--- /dev/null
+++ b/security/drweb-qmail/files/01.drweb-qmail.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+start)
+ if [ -x %INSTALL%/qmail-queue.drweb ]; then
+ killall qmail-queue.drweb >/dev/null 2>& 1;
+ %INSTALL%/qmail-queue.drweb --conf=/usr/local/etc/drweb-qmail/drweb_qmail.conf && \
+ echo ' Starting drweb-qmail';
+ fi
+ ;;
+stop)
+ killall qmail-queue.drweb >/dev/null 2>& 1;
+ echo ' Stop drweb-qmail';
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0