Home | History | Annotate | Line # | Download | only in rc.d
postfix revision 1.4.4.1
      1      1.1  thorpej #!/bin/sh
      2      1.1  thorpej #
      3  1.4.4.1    lukem # $NetBSD: postfix,v 1.4.4.1 2000/10/02 01:09:25 lukem Exp $
      4      1.1  thorpej #
      5      1.1  thorpej 
      6      1.1  thorpej # PROVIDE: mail
      7      1.1  thorpej # REQUIRE: LOGIN
      8      1.1  thorpej 
      9      1.1  thorpej #	we could do this, but make mail start late, so that things like
     10      1.1  thorpej #	.forward's are not processed until the system is fully operational
     11      1.1  thorpej ## REQUIRE: DAEMON
     12      1.1  thorpej 
     13      1.1  thorpej . /etc/rc.subr
     14      1.1  thorpej 
     15      1.3    lukem name="postfix"
     16  1.4.4.1    lukem rcvar=$name
     17      1.3    lukem required_files="/etc/${name}/main.cf"
     18      1.3    lukem start_cmd="postfix start"
     19      1.1  thorpej stop_cmd="postfix stop"
     20      1.1  thorpej reload_cmd="postfix reload"
     21  1.4.4.1    lukem extra_commands="reload"
     22      1.1  thorpej 
     23      1.4    lukem load_rc_config $name
     24      1.3    lukem run_rc_command "$1"
     25