3380N/A# The contents of this file are subject to the terms of the 3380N/A# Common Development and Distribution License (the "License"). 3380N/A# You may not use this file except in compliance with the License. 3380N/A# See the License for the specific language governing permissions 3380N/A# and limitations under the License. 3380N/A# When distributing Covered Code, include this CDDL HEADER in each 3380N/A# If applicable, add the following below this CDDL HEADER, with the 3380N/A# fields enclosed by brackets "[]" replaced with your own identifying 3380N/A# information: Portions Copyright [yyyy] [name of copyright owner] 3380N/A# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. 3380N/A # * CLIENTQUEUEINTERVAL should be set to some legal value; 3380N/A # sanity checks are done below. 3380N/A # * CLIENTOPTIONS are catch-alls; set with care. # Need to kill the entire service contract to kill all sendmail related # Sendmail can take its time responding to SIGTERM, as it waits for # things like child processes and SMTP connections to clean up. If # the contract did not empty after TERM, move on to KILL. echo "Usage: $0 { start | stop | refresh }"