aboutsummaryrefslogtreecommitdiffstats
path: root/security/drweb-postfix/files
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 /security/drweb-postfix/files
parent646ddb5297835e6fcbe141f6c3b695c6ca52acc6 (diff)
downloadfreebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.tar.gz
freebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.tar.zst
freebsd-ports-gnome-74fa67bde4547f9363dc005a6a30e82dedb52b8f.zip
- Add forgotten startup scripts
Diffstat (limited to 'security/drweb-postfix/files')
-rw-r--r--security/drweb-postfix/files/01.drweb-postfix.sh20
1 files changed, 20 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