• R/O
  • SSH

contrib-spec-files: Commit

日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。


Commit MetaInfo

Revision5a51423b47984022869f8756124b6881b06adc2f (tree)
Time2019-02-10 11:42:51
AuthorFumihisa TONAKA <fumi.ftnk@gmai...>
CommiterFumihisa TONAKA

Log Message

SFEphp71: add php-fpm71jposug.xml

Change Summary

Incremental Difference

diff -r 63d5c0e506bc -r 5a51423b4798 specs/ext-sources/php-fpm71jposug.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/ext-sources/php-fpm71jposug.xml Sun Feb 10 11:42:51 2019 +0900
@@ -0,0 +1,35 @@
1+<?xml version="1.0"?>
2+<!-- This is based on https://gist.github.com/webjay/888451 -->
3+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4+<service_bundle type="manifest" name="php-fpm71jposug">
5+ <service name="network/php-fpm71jposug" type="service" version="1">
6+ <create_default_instance enabled='false'/>
7+ <single_instance/>
8+ <dependency name="network" grouping="require_all" restart_on="error" type="service">
9+ <service_fmri value="svc:/milestone/network:default"/>
10+ </dependency>
11+ <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
12+ <service_fmri value="svc:/system/filesystem/local"/>
13+ </dependency>
14+ <dependent name="nginx" restart_on="none" grouping="optional_all">
15+ <service_fmri value="svc:/milestone/multi-user"/>
16+ </dependent>
17+ <method_context project=":default" resource_pool=":default" working_directory=":default"/>
18+ <exec_method type="method" name="start" exec="/opt/jposug/php/7.1/sbin/php-fpm -c /etc/php/7.1jposug/php.ini -y %{config_file}" timeout_seconds="60"/>
19+ <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
20+ <exec_method type="method" name="refresh" exec=":kill -HUP" timeout_seconds="60"/>
21+ <property_group name="application" type="application">
22+ <propval name="config_file" type="astring" value="/etc/php/7.1jposug/php-fpm.conf"/>
23+ </property_group>
24+ <property_group name="startd" type="framework">
25+ <propval name="duration" type="astring" value="contract"/>
26+ <propval name="ignore_error" type="astring" value="core,signal"/>
27+ </property_group>
28+ <stability value="Evolving"/>
29+ <template>
30+ <common_name>
31+ <loctext xml:lang="C">PHP FastCGI Process Manager</loctext>
32+ </common_name>
33+ </template>
34+ </service>
35+</service_bundle>
Show on old repository browser