From af1504d72a3be36a26a27632184320abd64d1297 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 28 Oct 2020 11:22:02 +0100 Subject: Added wordpress and phpmyadmin with nginx, Added nginx ssh liveliness probe --- srcs/wordpress/entrypoint.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 srcs/wordpress/entrypoint.sh (limited to 'srcs/wordpress/entrypoint.sh') diff --git a/srcs/wordpress/entrypoint.sh b/srcs/wordpress/entrypoint.sh new file mode 100755 index 0000000..de7bedf --- /dev/null +++ b/srcs/wordpress/entrypoint.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +nginx -t || exit 1 + +openrc +touch /run/openrc/softlevel + +rc-update add php-fpm7 default +rc-update add nginx default +rc-service nginx restart +rc-service php-fpm7 restart + +sleep infinity & +wait -- cgit