diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-09 09:33:01 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-09 09:33:01 +0000 |
commit | 70d85f41008ee7b219bc6fbab332a16dddbbc458 (patch) | |
tree | c31db4926fd0c25ca545a18bdf636bcac0ac36f6 /mail/vm-pop3d/files | |
parent | a748c0f081243e8448c29d5bcd037b1df5e38e9a (diff) | |
download | FreeBSD-ports-70d85f41008ee7b219bc6fbab332a16dddbbc458.zip FreeBSD-ports-70d85f41008ee7b219bc6fbab332a16dddbbc458.tar.gz |
add a startup script
PR: 37869
Submitted by: maintainer
Diffstat (limited to 'mail/vm-pop3d/files')
-rw-r--r-- | mail/vm-pop3d/files/vm-pop3d.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/vm-pop3d/files/vm-pop3d.sh b/mail/vm-pop3d/files/vm-pop3d.sh new file mode 100644 index 0000000..43e28e9 --- /dev/null +++ b/mail/vm-pop3d/files/vm-pop3d.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in +start) + [ -x %%PREFIX%%/sbin/vm-pop3d ] && %%PREFIX%%/sbin/vm-pop3d -d && echo -n " vm-pop3d" + ;; +stop) + killall vm-pop3d && echo -n " vm-pop3d" + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |