pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/varnish/files/smf varnish: sync smf from pkgsrc-wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e43eeb86b97c
branches: trunk
changeset: 455002:e43eeb86b97c
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Jun 25 12:38:00 2021 +0000
description:
varnish: sync smf from pkgsrc-wip to add Solaris jail support (untested)
diffstat:
www/varnish/files/smf/manifest.xml | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 9f3bf3898a7c -r e43eeb86b97c www/varnish/files/smf/manifest.xml
--- a/www/varnish/files/smf/manifest.xml Fri Jun 25 12:22:36 2021 +0000
+++ b/www/varnish/files/smf/manifest.xml Fri Jun 25 12:38:00 2021 +0000
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
-<service_bundle type="manifest" name="export">
+<service_bundle type="manifest" name="varnish">
<service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
<create_default_instance enabled="false" />
<single_instance />
@@ -11,11 +11,12 @@
<service_fmri value="svc:/system/filesystem/local" />
</dependency>
<method_context>
+ <method_credential user='@VRNUSER@' group='@VRNGROUP@' privileges='basic,net_privaddr' />
<method_environment>
<envvar name='PATH' value='@PREFIX@/sbin:@PREFIX@/bin:/sbin:/usr/sbin:/usr/bin' />
</method_environment>
</method_context>
- <exec_method type="method" name="start" exec="@PREFIX@/sbin/varnishd -a %{listen} -l %{size} -f %{config_file} -u @VRNUSER@ -g @VRNGROUP@" timeout_seconds="60" />
+ <exec_method type="method" name="start" exec="@PREFIX@/sbin/varnishd -j solaris -a %{listen} -l %{size} -f %{config_file}" timeout_seconds="60" />
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" />
<property_group name="startd" type="framework">
<propval name="duration" type="astring" value="contract" />
@@ -23,9 +24,10 @@
</property_group>
<property_group name="application" type="application">
<propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/default.vcl" />
- <propval name="listen" type="astring" value="127.0.0.1:8080" />
+ <propval name="listen" type="astring" value="0.0.0.0:8080" />
<propval name="size" type="astring" value="64M" />
</property_group>
+ <stability value="Evolving" />
<template>
<common_name>
<loctext xml:lang="C">Varnish daemon</loctext>
Home |
Main Index |
Thread Index |
Old Index