diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2015-05-15 01:46:09 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-22 20:13:32 +0200 |
commit | 2848cc99a18619979a30e30629d2945ae8d09c22 (patch) | |
tree | 37e328725c3de2cfada30ef23afe6828f81668eb /meta-oe/recipes-devtools/php/php | |
parent | c8ae4dc8ce180bfdf706d98c1501105c97899f5b (diff) | |
download | meta-openembedded-contrib-2848cc99a18619979a30e30629d2945ae8d09c22.tar.gz |
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 <alejandro.hernandez@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/php/php')
-rw-r--r-- | meta-oe/recipes-devtools/php/php/php-fpm.service | 10 |
1 files changed, 10 insertions, 0 deletions
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 |