mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
c8ae4dc8ce
commit
2848cc99a1
@@ -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
|
||||
Reference in New Issue
Block a user