1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 NOTE: This service manifest is not editable; its contents will
24 be overwritten by package or patch operations, including
25 operating system upgrade. Make customizations in a different
28 Service manifest for the DNSCrypt proxy service.
31 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
32 Copyright 2018 Alexander Pyhalov
34 <service_bundle type='manifest' name='upower'>
36 <service name='system/upower' type='service' version='1'>
38 <create_default_instance enabled='true' />
42 <dependency name='usr'
44 grouping='require_all'
46 <service_fmri value='svc:/system/filesystem/minimal' />
51 grouping='require_all'
54 <service_fmri value='svc:/system/device/local' />
57 <dependency name='dbus'
59 grouping='require_all'
61 <service_fmri value='svc:/system/dbus' />
64 <dependency name='sysevent'
66 grouping='require_all'
68 <service_fmri value='svc:/system/sysevent' />
71 <exec_method type='method' name='start'
72 exec='/usr/lib/upowerd &' timeout_seconds='60'>
75 user='root' group='root'
80 <exec_method type='method' name='stop' exec=':kill'
81 timeout_seconds='60'/>
83 <exec_method type='method' name='refresh' exec=':kill -HUP'
84 timeout_seconds='30'/>
88 <loctext xml:lang='C'>
93 <manpage title='upowerd' section='8'
94 manpath='/usr/share/man'/>