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