#!/bin/sh
##
## Copyright (c) 2010-2026 The SquirrelMail Project Team
##
## Licensed under the GNU GPL. For full terms see the file COPYING.
##
## This file is part of SquirrelMail IMAP Proxy.
##
##  Facility:
##
##      imapproxy.init
##
##  Abstract:
##
##      in.imapproxyd startup script
##
##  Authors:
##
##      Emmanuel Dreyfus <manu@netbsd.org>
##
##  Version:
##
##      $Id: imapproxy-bsd.init 15045 2026-01-15 10:56:28Z pdontthink $
##
##  Modification History:
##
##      $Log$
##
##
# BSD-stype init file for squirrelmail-imap_proxy server daemon
#

# PROVIDE: imapproxy
# REQUIRE: DAEMON
# BEFORE:  LOGIN

$_rc_subr_loaded . /etc/rc.subr

name="imapproxy"
rcvar=$name
command="@PREFIX@/sbin/in.imapproxyd"
required_files="@PKG_SYSCONFDIR@/imapproxy.conf"

load_rc_config $name
run_rc_command "$1"


