From 2848cc99a18619979a30e30629d2945ae8d09c22 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Date: Fri, 15 May 2015 01:46:09 -0500 Subject: php-fpm: Add support for systemd Adds suport for systemd, creates a service for php-fpm and installs it if required Signed-off-by: Alejandro Hernandez Signed-off-by: Martin Jansa --- meta-oe/recipes-devtools/php/php/php-fpm.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-oe/recipes-devtools/php/php/php-fpm.service (limited to 'meta-oe/recipes-devtools/php/php') diff --git a/meta-oe/recipes-devtools/php/php/php-fpm.service b/meta-oe/recipes-devtools/php/php/php-fpm.service new file mode 100644 index 0000000000..ac79dc931a --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/php-fpm.service @@ -0,0 +1,10 @@ +[Unit] +Description=PHP-FPM +After=network.target +[Service] +Type=forking +PIDFile=@LOCALSTATEDIR@/run/php-fpm.pid +ExecStart=@SYSCONFDIR@/init.d/php-fpm start +ExecStop=@SYSCONFDIR@/init.d/php-fpm stop +[Install] +WantedBy=multi-user.target -- cgit 1.2.3-korg