forked from sergevs/clinit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.xml
40 lines (33 loc) · 1.18 KB
/
services.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
<?xml version="1.0" encoding="utf-8"?>
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</services>
<!--
# A CONFIGURATION SAMPLE TO MANAGE 2 SERVICES (mariadb and httpd) ON localhost.
# httpd will be started after mariadb and stopped before stopping mariadb
# clinit tree
localhost:httpd───localhost:mariadb
-->
<!--
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
effective_user="root"
effective_group="root"
ssh_key="/root/.ssh/id_rsa">
<service id="mariadb" host="localhost"
start="service mariadb start > /dev/null"
stop="service mariadb stop > /dev/null"
status="service mariadb status > /dev/null">
</service>
<service id="httpd" host="localhost"
start="service httpd start > /dev/null"
stop="service httpd stop > /dev/null"
status="service httpd status > /dev/null">
<requires id="mariadb" host="localhost" strong="true"/>
</service>
<group name="httpd">
<service id="httpd" host="localhost"/>
</group>
<group name="mariadb">
<service id="mariadb" host="localhost"/>
</group>
</services>
-->