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