mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +00:00
61 lines
1.8 KiB
XML
61 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 %{config_file}" timeout_seconds="60"/>
|
|
|
|
<exec_method type="method" name="stop" exec="/usr/bin/kill -INT <<< `pgrep lokinet`" 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/loki/lokinet.ini"/>
|
|
</property_group>
|
|
|
|
</instance>
|
|
|
|
|
|
|
|
<stability value="Evolving"/>
|
|
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang="C">
|
|
LokiNET: Anonymous Network layer thingydoo.
|
|
</loctext>
|
|
</common_name>
|
|
</template>
|
|
|
|
</service>
|
|
|
|
</service_bundle>
|