読者です 読者をやめる 読者になる 読者になる

XML

VIVER

Long Name案

<?xml version="1.0" encoding="UTF-8"?>
<Service>
    <Name>name-of-servce</Name>
    <Version>0.1</Version>
    <Release>-1test1</Release>

    <Summary>Summary of the service</Summary>
    <Summary lang="ja_JP">サービスの概要</Summary>

    <Dependency>
        <Service>service1</Service>
        <Service oldest="0.1">service2</Service>
        <OR>
            <Service newest="2.2">service3</Service>
            <Service oldest="0.1" newest="1.3">service4</Service>
        </OR>
        <File>/etc/fstab</File>
        <Lib>libc.so.6</Lib>
        <Bin>nc</Bin>
    </Dependency>

    <ServiceOrderSpecification>
        <After>network</After>
        <Before>some-service</Before>
    </ServiceOrderSpecification>

    <Parameters namespace="names">
        <Text>domain</Text>
        <Number default="9650">port</Number>
    </Parameters>

    <ListenPorts>
        <tcp fixed="true">80</tcp>
        <udp>9650</udp>
    </ListenPorts>

    <Description>The description of this service....</Description>
    <Description lang="ja_JP">このサービスの説明…</Description>

</Service>


short name案

<?xml version="1.0" encoding="UTF-8"?>
<service>
    <name>name-of-servce</name>
    <version>0.1</version>
    <release>-1test1</release>

    <summary>Summary of the service</summary>
    <summary lang="ja_JP">サービスの概要</summary>

    <depend>
        <service>service1</service>
        <service oldest="0.1">service2</service>
        <or>
            <service newest="2.2">service3</service>
            <service oldest="0.1" newest="1.3">service4</service>
        </or>
        <file>/etc/fstab</file>
        <lib>libc.so.6</lib>
        <bin>nc</bin>
    </depend>

    <order>
        <post>network</post>
        <pre>some</pre>
    </order>

    <parameters namespace="names">
        <text>domain</text>
        <number default="9650">port</number>
    </parameters>

    <listen_ports>
        <tcp fixed="true">80</tcp>
        <udp>9650</udp>
    </listen_ports>

    <description>The description of this service....</description>
    <description lang="ja_JP">このサービスの説明…</description>

</service>