-
Notifications
You must be signed in to change notification settings - Fork 3
/
transmission-daemon.xml
84 lines (69 loc) · 2.15 KB
/
transmission-daemon.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='transmission-daemon'>
<service
name='application/transmission-daemon'
type='service'
version='1'>
<!-- Wait for network interfaces to be initialized. -->
<dependency
name='network'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/milestone/network:default' />
</dependency>
<!-- Wait for all local filesystems to be mounted. -->
<dependency
name='filesystem-local'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local:default' />
</dependency>
<exec_method
type='method'
name='start'
exec='/lib/svc/method/transmission-daemon start'
timeout_seconds='60' />
<exec_method
type='method'
name='stop'
exec=':kill -9'
timeout_seconds='60' />
<!--
Both action_authorization and value_authorization are needed
to allow the framework general/enabled property to be changed
when performing action (enable, disable, etc) on the service.
-->
<property_group name='general' type='framework'>
<propval name='value_authorization' type='astring'
value='solaris.smf.value.transmission' />
<propval name='action_authorization' type='astring'
value='solaris.smf.manage.transmission' />
</property_group>
<property_group name='startd' type='framework'>
<!-- sub-process core dumps shouldn't restart session -->
<propval name='ignore_error' type='astring'
value='core,signal' />
</property_group>
<instance name='default' enabled='false'>
<method_context>
<method_credential user='transmission' group='other' />
</method_context>
</instance>
<stability value='Evolving' />
<template>
<common_name>
<loctext xml:lang='C'>
Transmission BitTorrent Client (Daemon)
</loctext>
</common_name>
<documentation>
<manpage title='transmission-daemon' section='1' />
<doc_link name='www.transmissionbt.org'
uri='http://www.transmissionbt.org' />
</documentation>
</template>
</service>
</service_bundle>