pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add manifest.



Module Name:	pkgsrc-wip
Committed By:	Sergey A. Osokin <osa%FreeBSD.org@localhost>
Pushed By:	osa
Date:		Thu Feb 4 18:41:26 2021 -0500
Changeset:	233f4f74f7e960552e8d81e3fbb40bd6ad746749

Added Files:
	unit/files/smf/manifest.xml

Log Message:
Add manifest.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=233f4f74f7e960552e8d81e3fbb40bd6ad746749

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unit/files/smf/manifest.xml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diffs:
diff --git a/unit/files/smf/manifest.xml b/unit/files/smf/manifest.xml
new file mode 100644
index 0000000000..86b2c741e3
--- /dev/null
+++ b/unit/files/smf/manifest.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type="manifest" name="export">
+  <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
+    <create_default_instance enabled="false" />
+    <single_instance />
+    <dependency name='network' grouping='require_all' restart_on='error' type='service'>
+      <service_fmri value='svc:/milestone/network:default' />
+    </dependency>
+    <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
+      <service_fmri value='svc:/system/filesystem/local:default' />
+    </dependency>
+    <method_context>
+      <method_environment>
+        <envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
+      </method_environment>
+    </method_context>
+    <exec_method type="method" name="start" exec="@PREFIX@/sbin/unitd" timeout_seconds="60" />
+    <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
+    <exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="60" />
+    <property_group name="startd" type="framework">
+      <propval name="duration" type="astring" value="contract" />
+      <propval name="ignore_error" type="astring" value="core,signal" />
+    </property_group>
+    <template>
+      <common_name>
+        <loctext xml:lang="C">NGINX Unit HTTP daemon</loctext>
+      </common_name>
+    </template>
+  </service>
+</service_bundle>


Home | Main Index | Thread Index | Old Index