<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
NOTE: This service manifest is not editable; its contents will be
overwritten by package or patch operations, including operating system
upgrade. Make customizations in a different file.
-->
<service_bundle type='manifest' name='application/mailman'>
<service
name='application/mailman'
type='service'
version='1'>
<single_instance />
<dependency
name='fs-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local' />
</dependency>
<dependency
name='network-service'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/service' />
</dependency>
<dependency
name='name-services'
grouping='require_all'
restart_on='refresh'
type='service'>
<service_fmri value='svc:/milestone/name-services' />
</dependency>
<dependency
name='identity'
grouping='optional_all'
restart_on='refresh'
type='service'>
<service_fmri value='svc:/system/identity:domain' />
</dependency>
<dependency
name='mta'
grouping='optional_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/smtp' />
</dependency>
<dependent
name='mailman_multi-user'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/multi-user' />
</dependent>
<instance name='default' enabled='false'>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/mailman start'
timeout_seconds='60'>
<method_context>
<method_credential user='mailman' group='mailman'
privileges='basic,{zone}:/var/share/mailman' />
</method_context>
</exec_method>
<exec_method
type='method'
name='stop'
exec='/lib/svc/method/mailman stop'
timeout_seconds='60' />
<exec_method
type='method'
name='refresh'
exec='/lib/svc/method/mailman refresh'
timeout_seconds='60' />
<property_group name='general' type='framework'>
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.mailman' />
</property_group>
<template>
<common_name>
<loctext xml:lang='C'>
mailman mailing list manager
</loctext>
</common_name>
</template>
</instance>
<stability value='Unstable' />
</service>
</service_bundle>