diff mbox

[6/6] php: fpm: remove sample status page

Message ID 1431978724-25081-6-git-send-email-bos@je-eigen-domein.nl
State Accepted
Commit d21090dcef02b568cbf441b1cc2576fedf13774d
Headers show

Commit Message

Floris Bos May 18, 2015, 7:52 p.m. UTC
php-fpm installs a sample status page to $datadir/fpm/status.html
It is not of any use in that directory, so remove it from target.
If someone wants to use it, he can copy it to webroot manually.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
---
 package/php/php.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Korsgaard May 19, 2015, 8:03 p.m. UTC | #1
>>>>> "Floris" == Floris Bos <bos@je-eigen-domein.nl> writes:

 > php-fpm installs a sample status page to $datadir/fpm/status.html
 > It is not of any use in that directory, so remove it from target.
 > If someone wants to use it, he can copy it to webroot manually.

 > Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>

Committed, thanks.
diff mbox

Patch

diff --git a/package/php/php.mk b/package/php/php.mk
index 2fcf783..af90b03 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -276,6 +276,8 @@  define PHP_INSTALL_FPM_CONF
 	$(INSTALL) -D -m 0644 package/php/php-fpm.conf \
 		$(TARGET_DIR)/etc/php-fpm.conf
 	rm -f $(TARGET_DIR)/etc/php-fpm.conf.default
+	# remove unused sample status page /usr/php/php/fpm/status.html
+	rm -rf $(TARGET_DIR)/usr/php
 endef
 
 PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FPM_CONF