2035N/A# The contents of this file are subject to the terms of the 2035N/A# Common Development and Distribution License (the "License"). 2035N/A# You may not use this file except in compliance with the License. 2035N/A# See the License for the specific language governing permissions 2035N/A# and limitations under the License. 2035N/A# When distributing Covered Code, include this CDDL HEADER in each 2035N/A# If applicable, add the following below this CDDL HEADER, with the 2035N/A# fields enclosed by brackets "[]" replaced with your own identifying 2035N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5774N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. 2035N/A echo "This script can only be invoked by smf(5)" 2035N/A# rabbitmq-env handles pulling in configuration from a number of sources. Out 2035N/A# of that, the server builds more configuration variables if they haven't 2035N/A# already been set. getenv() gives us the variable as the server would see it. 2035N/A# It's up to the caller to massage it as the server would. 2035N/A # Has the RABBITMQ_ version been set? If so, that takes precedence. 2035N/A# If RABBITMQ_NODENAME isn't set in the environment, then use the FMRI instance 2035N/A# name, unless the instance name is "default", in which case we use the default 2035N/A# from the configuration files. If the instance name doesn't have an @ in it, 2035N/A# XXX Why isn't HOME set for us? 5403N/A # make sure the service is actually up before returning 2035N/A # XXX epmd should be in a separate SMF service (16749936); for now, 2035N/A # though, be sure to kill it here. 2035N/A echo "Usage: $0 { start | stop }"