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:
parent
41507c7454
commit
9437f20ebf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128606
20
security/drweb-postfix/files/01.drweb-postfix.sh
Normal file
20
security/drweb-postfix/files/01.drweb-postfix.sh
Normal 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
|
20
security/drweb-qmail/files/01.drweb-qmail.sh
Normal file
20
security/drweb-qmail/files/01.drweb-qmail.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user