mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
60 lines
1.8 KiB
XML
60 lines
1.8 KiB
XML
|
<?xml version="1.0"?>
|
||
|
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
||
|
<!--
|
||
|
Created by Manifold
|
||
|
--><service_bundle type="manifest" name="lokinet">
|
||
|
|
||
|
<service name="site/lokinet" type="service" version="1">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dependency name="network" grouping="require_all" restart_on="error" type="service">
|
||
|
<service_fmri value="svc:/milestone/network:default"/>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
|
||
|
<service_fmri value="svc:/system/filesystem/local"/>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<instance name="default" enabled="false">
|
||
|
|
||
|
|
||
|
<method_context>
|
||
|
<method_credential user="lokinet" group="lokinet"/>
|
||
|
</method_context>
|
||
|
|
||
|
<exec_method type="method" name="start" exec="/usr/bin/lokinet" timeout_seconds="60"/>
|
||
|
|
||
|
<exec_method type="method" name="stop" exec="/usr/bin/kill -INT <<< /path/to/lokinet.pid" timeout_seconds="60"/>
|
||
|
|
||
|
<property_group name="startd" type="framework">
|
||
|
<propval name="duration" type="astring" value="child"/>
|
||
|
|
||
|
|
||
|
<propval name="ignore_error" type="astring" value="core,signal"/>
|
||
|
</property_group>
|
||
|
|
||
|
<property_group name="application" type="application">
|
||
|
<propval name="config_file" type="astring" value="/etc/lokinet.ini"/>
|
||
|
</property_group>
|
||
|
|
||
|
</instance>
|
||
|
|
||
|
|
||
|
|
||
|
<stability value="Evolving"/>
|
||
|
|
||
|
<template>
|
||
|
<common_name>
|
||
|
<loctext xml:lang="C">
|
||
|
LokiNET
|
||
|
</loctext>
|
||
|
</common_name>
|
||
|
</template>
|
||
|
|
||
|
</service>
|
||
|
|
||
|
</service_bundle>
|