@@ -11,42 +11,40 @@ Double-click the source code blocks to expand and highlight the contained code.
11
11
12
12
### Manifests
13
13
14
- 1 . ` bash_history_link.xml `
15
- <!-- markdownlint-disable line-length -->
14
+ <!-- markdownlint-disable line-length -->
16
15
17
- <?xml version='1.0'?>
18
- <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
19
- <service_bundle type='manifest' name='export'>
20
- <service name='site/bash_history' type='service' version='0'>
21
- <create_default_instance enabled='true'/>
22
- <single_instance/>
23
- <dependency name='network' grouping='require_all' restart_on='error' type='service'>
24
- <service_fmri value='svc:/milestone/network:default'/>
25
- </dependency>
26
- <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
27
- <service_fmri value='svc:/system/filesystem/local'/>
28
- </dependency>
29
- <method_context/>
30
- <exec_method name='start' type='method' exec='ln -nsf /opt/custom/.bash_history /root/.bash_history' timeout_seconds='60'/>
31
- <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
32
- <property_group name='startd' type='framework'>
33
- <propval name='duration' type='astring' value='transient'/>
34
- <propval name='ignore_error' type='astring' value='core,signal'/>
35
- </property_group>
36
- <property_group name='application' type='application'/>
37
- <stability value='Evolving'/>
38
- <template>
39
- <common_name>
40
- <loctext xml:lang='C'>Link root .bash_history to /opt/custom/.bash_history</loctext>
41
- </common_name>
42
- </template>
43
- </service>
44
- </service_bundle>
16
+ #### ` root_bash_history.xml `
45
17
46
- <!-- - markdownlint-enable line-length -->
18
+ <?xml version='1.0'?>
19
+ <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
20
+ <service_bundle type='manifest' name='export'>
21
+ <service name='site/bash_history' type='service' version='0'>
22
+ <create_default_instance enabled='true'/>
23
+ <single_instance/>
24
+ <dependency name='network' grouping='require_all' restart_on='error' type='service'>
25
+ <service_fmri value='svc:/milestone/network:default'/>
26
+ </dependency>
27
+ <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
28
+ <service_fmri value='svc:/system/filesystem/local'/>
29
+ </dependency>
30
+ <method_context/>
31
+ <exec_method name='start' type='method' exec='ln -nsf /opt/custom/.bash_history /root/.bash_history' timeout_seconds='60'/>
32
+ <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
33
+ <property_group name='startd' type='framework'>
34
+ <propval name='duration' type='astring' value='transient'/>
35
+ <propval name='ignore_error' type='astring' value='core,signal'/>
36
+ </property_group>
37
+ <property_group name='application' type='application'/>
38
+ <stability value='Evolving'/>
39
+ <template>
40
+ <common_name>
41
+ <loctext xml:lang='C'>Link root .bash_history to /opt/custom/.bash_history</loctext>
42
+ </common_name>
43
+ </template>
44
+ </service>
45
+ </service_bundle>
47
46
48
- 2 . ` bashrc_link.xml `
49
- <!-- - markdownlint-disable line-length -->
47
+ #### ` root_bashrc.xml `
50
48
51
49
<?xml version='1.0'?>
52
50
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
@@ -77,38 +75,33 @@ Double-click the source code blocks to expand and highlight the contained code.
77
75
</service>
78
76
</service_bundle>
79
77
80
- <!-- - markdownlint-enable line-length -->
81
-
82
- 3 . ` inputrc_link.xml `
83
- <!-- - markdownlint-disable line-length -->
84
-
85
- <?xml version='1.0'?>
86
- <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
87
- <service_bundle type='manifest' name='export'>
88
- <service name='site/inputrc_link' type='service' version='0'>
89
- <create_default_instance enabled='true'/>
90
- <single_instance/>
91
- <dependency name='network' grouping='require_all' restart_on='error' type='service'>
92
- <service_fmri value='svc:/milestone/network:default'/>
93
- </dependency>
94
- <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
95
- <service_fmri value='svc:/system/filesystem/local'/>
96
- </dependency>
97
- <method_context/>
98
- <exec_method name='start' type='method' exec='ln -nsf /opt/custom/.inputrc /root/.inputrc' timeout_seconds='60'/>
99
- <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
100
- <property_group name='startd' type='framework'>
101
- <propval name='duration' type='astring' value='transient'/>
102
- <propval name='ignore_error' type='astring' value='core,signal'/>
103
- </property_group>
104
- <property_group name='application' type='application'/>
105
- <stability value='Evolving'/>
106
- <template>
107
- <common_name>
108
- <loctext xml:lang='C'>Link root .inputrc to /opt/custom/.inputrc</loctext>
109
- </common_name>
110
- </template>
111
- </service>
112
- </service_bundle>
78
+ #### ` root_inputrc.xml `
113
79
114
- <!-- - markdownlint-enable line-length -->
80
+ <?xml version='1.0'?>
81
+ <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
82
+ <service_bundle type='manifest' name='export'>
83
+ <service name='site/inputrc_link' type='service' version='0'>
84
+ <create_default_instance enabled='true'/>
85
+ <single_instance/>
86
+ <dependency name='network' grouping='require_all' restart_on='error' type='service'>
87
+ <service_fmri value='svc:/milestone/network:default'/>
88
+ </dependency>
89
+ <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
90
+ <service_fmri value='svc:/system/filesystem/local'/>
91
+ </dependency>
92
+ <method_context/>
93
+ <exec_method name='start' type='method' exec='ln -nsf /opt/custom/.inputrc /root/.inputrc' timeout_seconds='60'/>
94
+ <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
95
+ <property_group name='startd' type='framework'>
96
+ <propval name='duration' type='astring' value='transient'/>
97
+ <propval name='ignore_error' type='astring' value='core,signal'/>
98
+ </property_group>
99
+ <property_group name='application' type='application'/>
100
+ <stability value='Evolving'/>
101
+ <template>
102
+ <common_name>
103
+ <loctext xml:lang='C'>Link root .inputrc to /opt/custom/.inputrc</loctext>
104
+ </common_name>
105
+ </template>
106
+ </service>
107
+ </service_bundle>
0 commit comments