1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Add forgotten startup scripts

This commit is contained in:
Sergey Matveychuk 2005-02-12 16:28:46 +00:00
parent 41507c7454
commit 9437f20ebf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128606
2 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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