mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-26 13:31:08 -04:00
39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
|
|
<service_bundle type='manifest' name='@SMF_NAME@'>
|
|
<service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='0'>
|
|
<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>
|
|
<dependency name='config-file' grouping='require_all' restart_on='refresh' type='path'>
|
|
<service_fmri value='file://localhost@PKG_SYSCONFDIR@/httpd.conf'/>
|
|
</dependency>
|
|
<method_context>
|
|
<method_environment>
|
|
<envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
|
|
</method_environment>
|
|
</method_context>
|
|
<exec_method name='start' type='method' exec='@PREFIX@/sbin/httpd -k start' timeout_seconds='300' />
|
|
<exec_method name='stop' type='method' exec='@PREFIX@/sbin/httpd -k stop' timeout_seconds='300' />
|
|
<exec_method name='refresh' type='method' exec='@PREFIX@/sbin/httpd -k graceful' timeout_seconds='300' />
|
|
<property_group name='startd' type='framework'>
|
|
<propval name='ignore_error' type='astring' value='core,signal' />
|
|
</property_group>
|
|
<stability value='Evolving' />
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang='C'>Apache 2 HTTP server</loctext>
|
|
</common_name>
|
|
<documentation>
|
|
<manpage title='httpd' section='8' manpath='@PREFIX@/apache2/man' />
|
|
<doc_link name='apache.org' uri='http://httpd.apache.org' />
|
|
</documentation>
|
|
</template>
|
|
</service>
|
|
</service_bundle>
|