summaryrefslogtreecommitdiff
path: root/usr/src/cmd/initpkg
diff options
context:
space:
mode:
authorJohn Beck <John.Beck@Sun.COM>2009-02-17 13:59:57 -0800
committerJohn Beck <John.Beck@Sun.COM>2009-02-17 13:59:57 -0800
commitda978630d1f0b07bd370e402117d4d9b17bac427 (patch)
treef117aa159891a187e004b842ab62b2ddf240786d /usr/src/cmd/initpkg
parent05312e2ca4a1e68606ae0db2c449aee7e7009323 (diff)
downloadillumos-joyent-da978630d1f0b07bd370e402117d4d9b17bac427.tar.gz
PSARC 2009/027 sendmail split-instance
6226132 sendmail's receiving daemon should be restarted upon death
Diffstat (limited to 'usr/src/cmd/initpkg')
-rw-r--r--usr/src/cmd/initpkg/init.d/sendmail11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/cmd/initpkg/init.d/sendmail b/usr/src/cmd/initpkg/init.d/sendmail
index 5a3548d03b..896e9f9ea1 100644
--- a/usr/src/cmd/initpkg/init.d/sendmail
+++ b/usr/src/cmd/initpkg/init.d/sendmail
@@ -3,9 +3,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -21,10 +20,9 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
# This service is managed by smf(5). Thus, this script provides
# compatibility with previously documented init.d script behaviour.
@@ -35,14 +33,17 @@ case "$1" in
# the smf(5) 'refresh' semantics.
svcadm refresh network/smtp:sendmail
+ svcadm refresh network/sendmail-client:default
;;
'start')
svcadm enable -t network/smtp:sendmail
+ svcadm enable -t network/sendmail-client:default
;;
'stop')
svcadm disable -t network/smtp:sendmail
+ svcadm disable -t network/sendmail-client:default
;;
*)